Tomographer  v2.0
Tomographer C++ Framework Documentation
Tomographer::MHRWTasks::ValueHistogramTasks::ResultsCollectorSimple< CDataBaseType_, LoggerType_ > Struct Template Reference

Results collector, if no binning analysis is being used. More...

#include <tomographer2/mhrw_valuehist_tasks.h>

+ Inheritance diagram for Tomographer::MHRWTasks::ValueHistogramTasks::ResultsCollectorSimple< CDataBaseType_, LoggerType_ >:
+ Collaboration diagram for Tomographer::MHRWTasks::ValueHistogramTasks::ResultsCollectorSimple< CDataBaseType_, LoggerType_ >:

Classes

struct  RunTaskResult
 Stores information about the result of a task run. More...
 

Public Types

typedef CDataBaseType_ CDataBaseType
 
typedef CDataBaseType::ValueCalculator ValueCalculator
 
typedef CDataBaseType::CountRealType CountRealType
 
typedef CDataBaseType::CountIntType CountIntType
 
typedef CDataBaseType::StepRealType StepRealType
 
typedef LoggerType_ LoggerType
 
typedef CDataBaseType::HistogramType HistogramType
 
typedef CDataBaseType::HistogramParams HistogramParams
 
typedef UniformBinsHistogram< typename HistogramType::Scalar, CountRealType > NormalizedHistogramType
 
typedef AveragedHistogram< NormalizedHistogramType, CountRealType > FinalHistogramType
 
typedef HistogramType MHRWStatsCollectorResultType
 
typedef std::vector< RunTaskResult * > RunTaskResultList
 

Public Member Functions

 TOMO_STATIC_ASSERT_EXPR (CDataBaseType::UseBinningAnalysis==false)
 
 ResultsCollectorSimple (LoggerType &logger_)
 
bool isFinalized () const
 
FinalHistogramType finalHistogram () const
 
std::size_t numTasks () const
 
const RunTaskResultListcollectedRunTaskResults () const
 
const RunTaskResultcollectedRunTaskResult (std::size_t task_no) const
 
template<typename RealType = double>
void printHistogramCsv (std::ostream &stream, std::string sep="\t", std::string linesep="\n", int precision=10)
 
template<typename Cnt , typename CData >
void init (Cnt num_total_runs, Cnt, const CData *pcdata)
 
template<typename Cnt , typename TaskResultType , typename CData >
void collectResult (Cnt task_no, TaskResultType &&taskresult, const CData *)
 
template<typename Cnt , typename CData >
void runsFinished (Cnt, const CData *)
 

Detailed Description

template<typename CDataBaseType_, typename LoggerType_>
struct Tomographer::MHRWTasks::ValueHistogramTasks::ResultsCollectorSimple< CDataBaseType_, LoggerType_ >

Results collector, if no binning analysis is being used.

You can directly get the right type by querying the type "CDataBase::ResultsCollectorType<..>::Type".

Todo:
DOC !!!!

Definition at line 88 of file mhrw_valuehist_tasks.h.


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