BCModelManager.h
205 void WriteMarkovChain(const std::string& prefix, const std::string& option, bool flag_run = true, bool flag_prerun = true);
void WriteMarkovChainRun(bool flag)
Turn on/off writing of Markov chain to root file during run for all models.
Definition: BCModelManager.cxx:240
void SetAbsolutePrecision(double absprecision)
Set absolute precision of the numerical integation.
Definition: BCModelManager.cxx:136
void SetRelativePrecision(double relprecision)
Definition: BCModelManager.cxx:129
void SetOptimizationMethod(BCIntegrate::BCOptimizationMethod method)
Definition: BCModelManager.cxx:122
void AddModel(BCModel *model, double prior_probability=0.)
Adds a model to the container.
Definition: BCModelManager.cxx:66
void SetIntegrationMethod(BCIntegrate::BCIntegrationMethod method)
Definition: BCModelManager.cxx:108
BCModel * GetModel(unsigned index)
Returns the BCModel at a certain index of this BCModelManager.
Definition: BCModelManager.h:79
void SetMarginalizationMethod(BCIntegrate::BCMarginalizationMethod method)
Definition: BCModelManager.cxx:115
void SetPrecision(BCEngineMCMC::Precision precision)
Set the precision for the MCMC run.
Definition: BCModelManager.cxx:80
void Integrate()
Calculates the normalization of the likelihood for each model in the container.
Definition: BCModelManager.cxx:157
void SetNIterationsPrecisionCheck(int niterations)
Definition: BCModelManager.cxx:101
BCModelManager & operator=(BCModelManager modelmanager)
The defaut assignment operator.
Definition: BCModelManager.cxx:39
void SetNIterationsMax(int niterations)
Sets the maximum number of iterations for the Monte Carlo integration for all BCModels in this BCMode...
Definition: BCModelManager.cxx:87
void PrintModelComparisonSummary() const
Prints a summary of the model comparison to the log.
Definition: BCModelManager.cxx:285
void WriteMarkovChainPreRun(bool flag)
Turn on/off writing of Markov chain to root file during prerun for all models.
Definition: BCModelManager.cxx:247
void SetDataSet(BCDataSet *dataset)
Sets the data set common to all BCModels in this BCModelManager.
Definition: BCModelManager.cxx:55
void WriteMarkovChain(bool flag)
Turn on/off writing of Markov chains to root files for all models.
Definition: BCModelManager.cxx:233
void SetNIterationsMin(int niterations)
Sets the minimum number of iterations for the Monte Carlo integration for all BCModels in this BCMode...
Definition: BCModelManager.cxx:94
double BayesFactor(const unsigned int imodel1, const unsigned int imodel2) const
Calculate Bayes factor for two models.
Definition: BCModelManager.cxx:177