APEMoST
|
#include "mcmc.h"
#include "gsl_helper.h"
#include "debug.h"
#include "parallel_tempering_beta.h"
#include "define_defaults.h"
Functions | |
void | set_beta (mcmc *m, double newbeta) |
double | get_beta (const mcmc *m) |
void | inc_swapcount (mcmc *m) |
unsigned long | get_swapcount (const mcmc *m) |
void | print_current_positions (const mcmc **chains, const int n_beta) |
double | equidistant_beta (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | equidistant_temperature (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | chebyshev_temperature (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | chebyshev_beta (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | equidistant_stepwidth (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | chebyshev_stepwidth (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | hot_chains (const unsigned int i, const unsigned int n_beta, const double beta_0) |
double | get_chain_beta (unsigned int i, unsigned int n_beta, double beta_0) |
double | calc_beta_0 (mcmc *m, gsl_vector *stepwidth_factors) |
double calc_beta_0 | ( | mcmc * | m, |
gsl_vector * | stepwidth_factors | ||
) |
References BETA_0_STEPWIDTH, dup_vector(), get_params_max(), get_params_min(), and get_steps().
Referenced by calibrate_rest().
double chebyshev_beta | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
double chebyshev_stepwidth | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
double chebyshev_temperature | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
double equidistant_beta | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
double equidistant_stepwidth | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
double equidistant_temperature | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
double get_beta | ( | const mcmc * | m | ) |
References mcmc::additional_data.
Referenced by analyse_data_probability(), calc_model(), calibrate_rest(), run_sampler(), write_calibration_summary(), and write_calibrations_file().
double get_chain_beta | ( | unsigned int | i, |
unsigned int | n_beta, | ||
double | beta_0 | ||
) |
References BETA_ALIGNMENT.
Referenced by calibrate_rest(), and write_calibration_summary().
unsigned long get_swapcount | ( | const mcmc * | m | ) |
References mcmc::additional_data.
Referenced by print_current_positions().
double hot_chains | ( | const unsigned int | i, |
const unsigned int | n_beta, | ||
const double | beta_0 | ||
) |
void inc_swapcount | ( | mcmc * | m | ) |
References mcmc::additional_data.
Referenced by tempering_interaction().
void print_current_positions | ( | const mcmc ** | chains, |
const int | n_beta | ||
) |
References dump_vectorln(), get_params(), get_params_best(), get_prob(), get_prob_best(), and get_swapcount().
Referenced by report().
void set_beta | ( | mcmc * | m, |
double | newbeta | ||
) |
References mcmc::additional_data.
Referenced by calibrate_rest(), main(), read_calibration_file(), and setup_chains().