APEMoST
Functions

src/parallel_tempering_beta.c File Reference

#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)

Function Documentation

double calc_beta_0 ( mcmc m,
gsl_vector *  stepwidth_factors 
)
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)
double get_chain_beta ( unsigned int  i,
unsigned int  n_beta,
double  beta_0 
)
unsigned long get_swapcount ( const mcmc m)
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 
)
void set_beta ( mcmc m,
double  newbeta 
)