Tomographer  v5.2
Tomographer C++ Framework Documentation
Tomographer::MHRWParams< MHWalkerParams_, CountIntType_ > Struct Template Reference

Specify the parameters of a Metropolis-Hastings random walk. More...

#include <tomographer/mhrw.h>

+ Inheritance diagram for Tomographer::MHRWParams< MHWalkerParams_, CountIntType_ >:
+ Collaboration diagram for Tomographer::MHRWParams< MHWalkerParams_, CountIntType_ >:

Public Types

typedef MHWalkerParams_ MHWalkerParams
 
typedef CountIntType_ CountIntType
 

Public Member Functions

template<typename MHWalkerParamsInit >
 MHRWParams (MHWalkerParamsInit &&mhwalker_params_, CountIntType n_sweep_, CountIntType n_therm_, CountIntType n_run_)
 
template<typename MHWalkerParamsOtherType , typename CountIntOtherType >
 MHRWParams (const MHRWParams< MHWalkerParamsOtherType, CountIntOtherType > &copy)
 

Public Attributes

MHWalkerParams mhwalker_params
 The parameters of the mh-walker, typically just the step size of the random walk.
 
CountIntType n_sweep
 The number of individual updates to collect together in a "sweep".
 
CountIntType n_therm
 Number of thermalization sweeps.
 
CountIntType n_run
 Number of live sweeps.
 

Detailed Description

template<typename MHWalkerParams_ = MHWalkerParamsStepSize<double>, typename CountIntType_ = int>
struct Tomographer::MHRWParams< MHWalkerParams_, CountIntType_ >

Specify the parameters of a Metropolis-Hastings random walk.

Specifies the parameters of a Metropolis-Hastings random walk (number of thermalization runs, sweep size, number of live runs, step size).

Since
Changed in Tomographer 5.0: This class now stores an arbitrary type for the parameters of the MHWalker type. Note the new template parameter order!!

Definition at line 120 of file mhrw.h.


The documentation for this struct was generated from the following file: