flavour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Model Class Referenceabstract

Abstract class for a model. More...

#include <model.h>

Inheritance diagram for Model:
Collaboration diagram for Model:

Public Member Functions

 Model ()
 
virtual ~Model ()
 
virtual parameters getlist (const parameters &p) const =0
 
virtual parameters generateparameters (int max=0) const =0
 
virtual int veto (const parameters &p, int max=0) const
 
double likelihood (const parameters &p, bool check=1, int max=0) const
 calculates the probability of getting all the experimental measures if the model describes the reality More...
 
double loglike (const parameters &p, bool check=1, int max=0) const
 

Public Attributes

TRandom3 * r
 

Detailed Description

Abstract class for a model.

Definition at line 361 of file model.h.

Constructor & Destructor Documentation

Model::Model ( )
inline

Definition at line 364 of file model.h.

virtual Model::~Model ( )
inlinevirtual

Definition at line 365 of file model.h.

Member Function Documentation

virtual parameters Model::generateparameters ( int  max = 0) const
pure virtual

Implemented in BGLmodels::BGL, and BGL2.

virtual parameters Model::getlist ( const parameters p) const
pure virtual

Implemented in BGLmodels::BGL, BGL2, and Juca.

double Model::likelihood ( const parameters p,
bool  check = 1,
int  max = 0 
) const
inline

calculates the probability of getting all the experimental measures if the model describes the reality

Parameters
pvector with the values of the free parameters

Definition at line 374 of file model.h.

double Model::loglike ( const parameters p,
bool  check = 1,
int  max = 0 
) const
inline

Definition at line 381 of file model.h.

Here is the caller graph for this function:

virtual int Model::veto ( const parameters p,
int  max = 0 
) const
inlinevirtual

Reimplemented in BGLmodels::BGL.

Definition at line 368 of file model.h.

Here is the call graph for this function:

Member Data Documentation

TRandom3* Model::r

Definition at line 405 of file model.h.


The documentation for this class was generated from the following file: