Tomographer
v2.0
Tomographer C++ Framework Documentation
|
Stores information about the result of a task run. More...
#include <tomographer2/mhrw_valuehist_tasks.h>
Public Types | |
typedef MHRandomWalkTaskResult< MHRWStatsCollectorResultType, CountIntType, StepRealType > | Base |
Public Types inherited from Tomographer::MHRWTasks::MHRandomWalkTaskResult< MHRWStatsCollectorResultType, CountIntType, StepRealType > | |
typedef MHRWStatsCollectorResultType | MHRWStatsCollectorResultType |
The specified result type of the MHRWStatsCollector the task will be looking at. | |
typedef MHRWParams< CountIntType, StepRealType > | MHRWParamsType |
The type to use to store the parameters of the random walk. | |
Public Member Functions | |
template<typename BaseType , typename NormalizedHistogramTypeRef > | |
RunTaskResult (BaseType &&b, NormalizedHistogramTypeRef &&histogram_) | |
Public Member Functions inherited from Tomographer::MHRWTasks::MHRandomWalkTaskResult< MHRWStatsCollectorResultType, CountIntType, StepRealType > | |
MHRandomWalkTaskResult () | |
Construct an empty task result. More... | |
MHRandomWalkTaskResult (MHRWStatsCollectorResultTypeInit &&stats_collector_result_, MHRWParamsType2 &&mhrw_params_, double acceptance_ratio_) | |
Constructor, initializes fields to the given values. More... | |
MHRandomWalkTaskResult (MHRWStatsCollectorResultTypeInit &&stats_collector_result_, const MHRandomWalkType &mhrandomwalk) | |
Constructor with mhrw_params initialized from a random walk instance. More... | |
Public Attributes | |
const NormalizedHistogramType | histogram |
Public Attributes inherited from Tomographer::MHRWTasks::MHRandomWalkTaskResult< MHRWStatsCollectorResultType, CountIntType, StepRealType > | |
const MHRWStatsCollectorResultType | stats_collector_result |
The result furnished by the stats collector itself. | |
const MHRWParamsType | mhrw_params |
The parameters of the random walk (see MHRWParams<CountIntType,StepRealType>) | |
const double | acceptance_ratio |
The acceptance ratio of the Metropolis-Hastings random walk. | |
Stores information about the result of a task run.
This structure is not the type that the task itself returns; rather, it is a way for us to store all the relevant information together in the result collector object (see ResultsCollectorSimple::RunTaskResultList and ResultsCollectorSimple::collectedRunTaskResults())
Definition at line 119 of file mhrw_valuehist_tasks.h.