Tomographer  v5.4
Tomographer C++ Framework Documentation
mhrwstepsizecontroller.h File Reference

(v5.4)

Tools for automatically and dynamically adjusting the step size of the random walk. More...

#include <cstddef>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <limits>
#include <random>
#include <iomanip>
#include <tomographer/tools/loggers.h>
#include <tomographer/tools/fmt.h>
#include <tomographer/tools/cxxutil.h>
#include <tomographer/tools/needownoperatornew.h>
#include <tomographer/mhrw.h>
#include <tomographer/mhrwstatscollectors.h>
#include <tomographer/mhrwacceptratiowalkerparamscontroller.h>
+ Include dependency graph for mhrwstepsizecontroller.h:

Go to the source code of this file.

Classes

class  Tomographer::MHRWStepSizeController< MHRWMovingAverageAcceptanceRatioStatsCollectorType_, BaseLoggerType_, StepRealType_, IterCountIntType_ >
 A MHRWController Interface dynamically adjusting the step size to keep a good acceptance ratio. More...
 
struct  Tomographer::Tools::StatusProvider< MHRWStepSizeController< MHRWMovingAverageAcceptanceRatioStatsCollectorType, BaseLoggerType, StepRealType, IterCountIntType > >
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::Tools
 Various useful tools.
 

Functions

template<typename MHRWParamsType , typename MHRWMovingAverageAcceptanceRatioStatsCollectorType_ , typename BaseLoggerType_ >
MHRWStepSizeController< MHRWMovingAverageAcceptanceRatioStatsCollectorType_, BaseLoggerType_, typename MHRWParamsType::MHWalkerParams::StepRealType, typename MHRWParamsType::CountIntType > Tomographer::mkMHRWStepSizeController (const MHRWMovingAverageAcceptanceRatioStatsCollectorType_ &accept_ratio_stats_collector_, BaseLoggerType_ &baselogger_, double desired_accept_ratio_min_=MHRWAcceptRatioWalkerParamsControllerDefaults::DesiredAcceptanceRatioMin, double desired_accept_ratio_max_=MHRWAcceptRatioWalkerParamsControllerDefaults::DesiredAcceptanceRatioMax, double acceptable_accept_ratio_min_=MHRWAcceptRatioWalkerParamsControllerDefaults::AcceptableAcceptanceRatioMin, double acceptable_accept_ratio_max_=MHRWAcceptRatioWalkerParamsControllerDefaults::AcceptableAcceptanceRatioMax, double ensure_n_therm_fixed_params_fraction_=MHRWAcceptRatioWalkerParamsControllerDefaults::EnsureNThermFixedParamsFraction)
 

Detailed Description

Tools for automatically and dynamically adjusting the step size of the random walk.

See Tomographer::MHRWStepSizeController

Definition in file mhrwstepsizecontroller.h.