Tomographer  v5.4
Tomographer C++ Framework Documentation
Tomographer::MHRWTasks Namespace Reference

Definitions for running multiple Metropolis-Hastings random walks, and collecting statistics over the visited samples. More...

Namespaces

 ValueHistogramTools
 Tools for running random walk tasks while collecting a histogram of values
 

Classes

struct  CDataBase
 Data needed to be accessible to the working code. More...
 
struct  MHRandomWalkTask
 Random Walk task, collecting statistics. More...
 
struct  MHRandomWalkTaskResult
 Result of a task run. More...
 

Detailed Description

Definitions for running multiple Metropolis-Hastings random walks, and collecting statistics over the visited samples.

This namespace provides class definitions for running multiple such random walks within a task manager/dispatcher (see Multiprocessing Task Interfaces, for example parallel threads MultiProc::OMP::TaskDispatcher).

The random walk may be over any space and with any jump function: The random walk is specified by any MHWalker Interface compliant object.

The statistics are collected by a MHRWStatsCollector Interface.

If you are interested in collecting a histogram of a particular function over the explored space, you should consider using the classes in MHRWTasks::ValueHistogramTools, which provides additional helpful tools for averaging histograms, calculating error bars etc.