BCEmptyModel.h
1 #ifndef __BCEMPTYMODEL__H
2 #define __BCEMPTYMODEL__H
3 
12 /*
13  * Copyright (C) 2007-2018, the BAT core developer team
14  * All rights reserved.
15  *
16  * For the licensing terms see doc/COPYING.
17  * For documentation see http://mpp.mpg.de/bat
18  */
19 
20 // ---------------------------------------------------------
21 
22 #include "BCModel.h"
23 
24 #include <string>
25 #include <vector>
26 
27 // ---------------------------------------------------------
28 
29 class BCEmptyModel : public BCModel
30 {
31 public:
32 
39  BCEmptyModel(const std::string& name = "model");
40 
47  BCEmptyModel(const std::string& filename, const std::string& name, bool loadObservables = true);
48 
51  virtual ~BCEmptyModel() {};
52 
58  virtual double LogLikelihood(const std::vector<double>& /*params*/)
59  { return 0; }
60 
61 };
62 // ---------------------------------------------------------
63 
64 
65 #endif
An empty model, used for reading in a chain.
Definition: BCEmptyModel.h:29
virtual ~BCEmptyModel()
The default destructor.
Definition: BCEmptyModel.h:51
The base class for all user-defined models.
Definition: BCModel.h:39
virtual double LogLikelihood(const std::vector< double > &)
Calculates natural logarithm of the likelihood.
Definition: BCEmptyModel.h:58
BCEmptyModel(const std::string &name="model")
A constructor.