18 return std::exp(-chi2 / (2. * temp));
30 State& state,
double chi2,
const std::vector<double>& allChi2)
const {
31 const double currentTemp =
36 double denom = std::pow(base, m_cfg.cutOff - chi2);
38 for (
double val : allChi2) {
39 denom += std::pow(base, val - chi2);
46 const double currentTemp =
49 return 1. / (1. +
gaussFunc(m_cfg.cutOff - chi2, currentTemp));