Tomographer  v5.3
Tomographer C++ Framework Documentation
mhrw.h File Reference

(v5.3)

Routines for performing a Metropolis-Hastings random walk. More...

#include <cstddef>
#include <cmath>
#include <limits>
#include <random>
#include <sstream>
#include <iomanip>
#include <type_traits>
#include <boost/serialization/serialization.hpp>
#include <tomographer/tools/loggers.h>
#include <tomographer/tools/fmt.h>
#include <tomographer/tools/cxxutil.h>
#include <tomographer/tools/statusprovider.h>
#include <tomographer/multiproc.h>
#include <tomographer/mhrw_bin_err.h>
#include <tomographer/tools/needownoperatornew.h>
+ Include dependency graph for mhrw.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Tomographer::MHWalkerParamsStepSize< StepRealType_ >
 An MHWalkerParams type which just stores a step size. More...
 
struct  Tomographer::MHRWParams< MHWalkerParams_, CountIntType_ >
 Specify the parameters of a Metropolis-Hastings random walk. More...
 
struct  Tomographer::MHRWControllerInvoker< MHRWControllerType_ >
 Helper class to invoke a MHRWController Interface 's callbacks. More...
 
class  Tomographer::MHRWMultipleControllers< MHRWControllerTypes >
 A MHRWController Interface which combines several independent random walk controllers. More...
 
class  Tomographer::MHRandomWalk< Rng_, MHWalker_, MHRWStatsCollector_, MHRWController_, LoggerType_, CountIntType_ >
 A Metropolis-Hastings Random Walk. More...
 
struct  Tomographer::MHRWStatusReport< MHRWParamsType >
 Status Report structure representing the status of a MHRandomWalk. More...
 
struct  Tomographer::Tools::StatusProvider< MHRWMultipleControllers< Args... > >
 Provide status reporting for a MHRWMultipleControllers. More...
 

Namespaces

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

Typedefs

typedef MHRWMultipleControllers Tomographer::MHRWNoController
 A MHRWController Interface which does not adjust anything. More...
 

Enumerations

enum  
 
enum  Tomographer::MHRWControllerAdjustmentStrategy
 Describe how frequently the parameters of the random walk should be dynamically adjusted. More...
 

Functions

template<typename StepRealType >
std::ostreamTomographer::operator<< (std::ostream &stream, MHWalkerParamsStepSize< StepRealType > p)
 
template<typename CountIntType , typename MHWalkerParams >
std::ostreamTomographer::operator<< (std::ostream &str, const MHRWParams< MHWalkerParams, CountIntType > &p)
 
template<typename... MHRWControllerTypes>
MHRWMultipleControllers< MHRWControllerTypes... > Tomographer::mkMHRWMultipleControllers (MHRWControllerTypes &... controllers)
 Convenience function to create a MHRWMultipleControllers (using template argument deduction) More...
 

Variables

constexpr const double Tomographer::MHRWAcceptanceRatioRecommendedMin = 0.2
 Minimal recommended acceptance ratio.
 
constexpr const double Tomographer::MHRWAcceptanceRatioRecommendedMax = 0.4
 Maximal recommended acceptance ratio.
 

Detailed Description

Routines for performing a Metropolis-Hastings random walk.

Definition in file mhrw.h.