27 #ifndef CTLIKELIHOOD_HPP
28 #define CTLIKELIHOOD_HPP
46 const std::string& version);
48 const std::string& version,
49 const GApplicationPars& pars);
51 const std::string& version,
55 const std::string& version,
56 const GObservations&
obs);
64 virtual void clear(
void) = 0;
66 virtual void save(
void) = 0;
69 void opt(
const GOptimizer*
opt);
70 const GOptimizer*
opt(
void)
const;
76 double evaluate(GModelPar& par,
const double& value);
void copy_members(const ctlikelihood &app)
Copy class members.
ctlikelihood & operator=(const ctlikelihood &app)
Assignment operator.
double evaluate(GModelPar &par, const double &value)
Evaluates the log-likelihood function.
const GObservations & obs(void) const
Return observation container.
virtual ~ctlikelihood(void)
Destructor.
const GOptimizer * opt(void) const
Return optimizer.
virtual void process(void)=0
Observation tool base class interface definition.
Base class for observation tools.
void free_members(void)
Delete class members.
virtual void clear(void)=0
void init_members(void)
Initialise class members.
ctlikelihood(const std::string &name, const std::string &version)
Name constructor.
Base class for likelihood tools.
GOptimizerLM m_opt
Optimizer.
virtual void save(void)=0