Tomographer  v2.0
Tomographer C++ Framework Documentation
Tomographer::MHRWTasks::ValueHistogramTasks::CDataBase< ValueCalculator_, UseBinningAnalysis_, CountIntType_, StepRealType_, CountRealType_ > Struct Template Reference

constant data for our MH random walk tasks with value histogram stats collector More...

#include <tomographer2/mhrw_valuehist_tasks.h>

+ Inheritance diagram for Tomographer::MHRWTasks::ValueHistogramTasks::CDataBase< ValueCalculator_, UseBinningAnalysis_, CountIntType_, StepRealType_, CountRealType_ >:
+ Collaboration diagram for Tomographer::MHRWTasks::ValueHistogramTasks::CDataBase< ValueCalculator_, UseBinningAnalysis_, CountIntType_, StepRealType_, CountRealType_ >:

Classes

struct  ResultsCollectorType
 Helper to get the results collector type. More...
 

Public Types

typedef MHRWTasks::CDataBase< CountIntType_, StepRealType_ > Base
 
typedef Base::CountIntType CountIntType
 
typedef Base::StepRealType StepRealType
 
typedef ValueCalculator_ ValueCalculator
 
typedef CountRealType_ CountRealType
 
typedef tomo_internal::histogram_types< CDataBase, UseBinningAnalysis >::MHRWStatsCollectorResultType MHRWStatsCollectorResultType
 
typedef tomo_internal::histogram_types< CDataBase, UseBinningAnalysis >::HistogramType HistogramType
 
typedef tomo_internal::histogram_types< CDataBase, UseBinningAnalysis >::HistogramParams HistogramParams
 
typedef MHRWParams< CountIntType, StepRealType > MHRWParamsType
 
- Public Types inherited from Tomographer::MHRWTasks::CDataBase< CountIntType_, StepRealType_ >
typedef CountIntType_ CountIntType
 Type used to count the number of iterations.
 
typedef StepRealType_ StepRealType
 Type used to specify the step size.
 
typedef MHRWParams< CountIntType, StepRealTypeMHRWParamsType
 Type to store the parameters of the Metropolis-Hastings random walk (number of runs, sweep size, etc.) More...
 

Public Member Functions

template<ENABLED_IF( !UseBinningAnalysis ) >
 CDataBase (const ValueCalculator &valcalc_, HistogramParams histogram_params_, MHRWParamsType p, int base_seed=0)
 
template<ENABLED_IF( UseBinningAnalysis ) >
 CDataBase (const ValueCalculator &valcalc_, HistogramParams histogram_params_, int binning_num_levels_, MHRWParamsType p, int base_seed=0)
 
template<typename LoggerType , ENABLED_IF( !UseBinningAnalysis ) >
ValueHistogramMHRWStatsCollector< ValueCalculator, LoggerType, HistogramTypecreateStatsCollector (LoggerType &logger) const
 
template<typename LoggerType , ENABLED_IF( UseBinningAnalysis ) >
ValueHistogramWithBinningMHRWStatsCollector< typename tomo_internal::histogram_types< CDataBase, true >::BinningMHRWStatsCollectorParams, LoggerType > createStatsCollector (LoggerType &logger) const
 
- Public Member Functions inherited from Tomographer::MHRWTasks::CDataBase< CountIntType_, StepRealType_ >
template<typename MHRWParamsType >
 CDataBase (MHRWParamsType &&p, int base_seed_=0)
 Constructor. More...
 
int getTaskInput (int k) const
 Returns a random seed to seed the random number generator with for run number k. More...
 
void printBasicCDataMHRWInfo (std::ostream &str) const
 Get some human-readable info about the random walk as a string.
 
std::string getBasicCDataMHRWInfo () const
 Get some human-readable info about the random walk as a string, see printBasicCDataMHRWInfo()
 

Public Attributes

const ValueCalculator valcalc
 
const HistogramParams histogram_params
 
const Tools::StoreIfEnabled< int, UseBinningAnalysis > binningNumLevels
 
- Public Attributes inherited from Tomographer::MHRWTasks::CDataBase< CountIntType_, StepRealType_ >
const MHRWParamsType mhrw_params
 Parameters of the random walk. More...
 
const int base_seed
 A base random seed from which each run seed will be derived. More...
 

Static Public Attributes

static constexpr bool UseBinningAnalysis = UseBinningAnalysis_
 

Detailed Description

template<typename ValueCalculator_, bool UseBinningAnalysis_ = true, typename CountIntType_ = int, typename StepRealType_ = double, typename CountRealType_ = double>
struct Tomographer::MHRWTasks::ValueHistogramTasks::CDataBase< ValueCalculator_, UseBinningAnalysis_, CountIntType_, StepRealType_, CountRealType_ >

constant data for our MH random walk tasks with value histogram stats collector

Todo:
DOC !!!!

Definition at line 477 of file mhrw_valuehist_tasks.h.


The documentation for this struct was generated from the following file: