27 inline std::string
GetName()
const {
return "MCMC";};
Base class for implementing fitting algorithms.
manager * fitMan
The manager.
The manager class is responsible for managing configurations and settings.
Implementation of MR2T2 algorithm.
std::string GetName() const
Get name of class.
void RunMCMC() override
Actual implementation of MCMC fitting algorithm.
unsigned int chainLength
number of steps in chain
double AnnealTemp
simulated annealing temperature
bool anneal
simulated annealing
bool reject
Do we reject based on hitting boundaries in systs.
virtual ~mcmc()
Destructor.
void CheckStep()
Do we accept the step.
void ProposeStep()
Propose a step.
void StartFromPreviousFit(const std::string &FitName) override
Allow to start from previous fit/chain.
void PrintProgress()
Print the progress.
void setChainLength(unsigned int L)
Set how long chain should be.