APEMoST
Defines | Functions

src/parallel_tempering_interaction.h File Reference

#include "mcmc.h"

Go to the source code of this file.

Defines

#define RANDOMSWAP

Functions

void tempering_interaction (mcmc **chains, unsigned int n_beta, unsigned long iter)

Define Documentation

#define RANDOMSWAP

this shouldn't make any difference at the moment ...


Function Documentation

void tempering_interaction ( mcmc **  chains,
unsigned int  n_beta,
unsigned long  iter 
)

does swapping chains and other mixes.

Parameters:
chains
iternumber of iterations that passed. Is a multiple of n_swap.
n_betasize of chains

References inc_swapcount(), parallel_tempering_decide_swap_now(), and parallel_tempering_decide_swap_random().

Referenced by run_sampler().