Tomographer
v5.3
Tomographer C++ Framework Documentation
|
Status Report structure representing the status of a MHRandomWalk. More...
#include <tomographer/mhrw.h>
Public Types | |
typedef MHRWParamsType::CountIntType | IterCountIntType |
Public Member Functions | |
MHRWStatusReport (double fdone=0.0, const std::string &msg=std::string(), IterCountIntType kstep_=0, MHRWParamsType mhrw_params_=MHRWParamsType(), double acceptance_ratio_=0.0) | |
Constructor which initializes all fields. | |
Public Member Functions inherited from Tomographer::MultiProc::TaskStatusReport | |
TaskStatusReport (double fraction_done_, std::string msg_) | |
Static Public Member Functions | |
template<typename MHRandomWalkType , typename MHRWStatsCollectorType , typename MHRWControllerType > | |
static MHRWStatusReport | createFromRandWalkStatInfo (IterCountIntType k, bool is_thermalizing, const MHRandomWalkType &rw, const MHRWStatsCollectorType &stats_collector, const MHRWControllerType &mhrw_controller) |
Public Attributes | |
IterCountIntType | kstep |
the current iteration number | |
MHRWParamsType | mhrw_params |
the parameters of the random walk More... | |
double | acceptance_ratio |
the current acceptance ratio of the random walk (see Tomographer::MHRandomWalk::acceptanceRatio() ) | |
IterCountIntType | n_total_iters |
the total number of iterations required for this random walk More... | |
Public Attributes inherited from Tomographer::MultiProc::TaskStatusReport | |
double | fraction_done |
std::string | msg |
Status Report structure representing the status of a MHRandomWalk.
This struct can store information about the current status of a MHRandomWalk while it is running.
This is particularly useful when multiprocessing tasks, for example, with MultiProc::OMP::TaskDispatcher and requesting status reports as with MultiProc::OMP::TaskDispatcher::requestStatusReport().
MHRWParamsType Tomographer::MHRWStatusReport< MHRWParamsType >::mhrw_params |
the parameters of the random walk
Stores the number of iterations that form a sweep (n_sweep), the total number of thermalization sweeps (n_therm), the total number of live run sweeps (n_run) as well as the step size of the random walk (mhwalker_params).
See also MHRandomWalk
IterCountIntType Tomographer::MHRWStatusReport< MHRWParamsType >::n_total_iters |