te::sa::BayesGlobalOperation Class Reference

Class used to execute the bayes global operations. More...

#include <BayesGlobalOperation.h>

Public Member Functions

 BayesGlobalOperation ()
 Default constructor. More...
 
void execute ()
 Function to execute the bayes operation. More...
 
void setParameters (te::sa::BayesInputParams *inParams, te::sa::BayesOutputParams *outParams)
 
 ~BayesGlobalOperation ()
 Virtual destructor. More...
 

Protected Member Functions

std::unique_ptr< te::mem::DataSet > createDataSet (te::da::DataSet *inputDataSet, te::da::DataSetType *dsType)
 
std::unique_ptr< te::da::DataSetType > createDataSetType (te::da::DataSetType *dsType)
 
void runBayesGlobal (te::mem::DataSet *ds, std::size_t eventIdx, std::size_t popIdx, std::size_t bayesIdx)
 
void saveDataSet (te::da::DataSet *dataSet, te::da::DataSetType *dsType)
 

Protected Attributes

std::unique_ptr< te::sa::BayesInputParams > m_inputParams
 Attribute with the bayes input parameters. More...
 
std::unique_ptr< te::sa::BayesOutputParams > m_outputParams
 Attribute with the bayes output parameters. More...
 

Detailed Description

Class used to execute the bayes global operations.

Definition at line 55 of file BayesGlobalOperation.h.

Constructor & Destructor Documentation

te::sa::BayesGlobalOperation::BayesGlobalOperation ( )
default

Default constructor.

te::sa::BayesGlobalOperation::~BayesGlobalOperation ( )
default

Virtual destructor.

Member Function Documentation

std::unique_ptr< te::mem::DataSet > te::sa::BayesGlobalOperation::createDataSet ( te::da::DataSet *  inputDataSet,
te::da::DataSetType *  dsType 
)
protected
std::unique_ptr< te::da::DataSetType > te::sa::BayesGlobalOperation::createDataSetType ( te::da::DataSetType *  dsType)
protected
void te::sa::BayesGlobalOperation::execute ( )
void te::sa::BayesGlobalOperation::saveDataSet ( te::da::DataSet *  dataSet,
te::da::DataSetType *  dsType 
)
protected

Function used to save the output dataset

Definition at line 80 of file BayesGlobalOperation.cpp.

References m_outputParams, and te::da::DataSet::moveBeforeFirst().

Referenced by execute().

void te::sa::BayesGlobalOperation::setParameters ( te::sa::BayesInputParams *  inParams,
te::sa::BayesOutputParams *  outParams 
)

Member Data Documentation

std::unique_ptr<te::sa::BayesInputParams> te::sa::BayesGlobalOperation::m_inputParams
protected

Attribute with the bayes input parameters.

Definition at line 87 of file BayesGlobalOperation.h.

Referenced by execute(), runBayesGlobal(), and setParameters().

std::unique_ptr<te::sa::BayesOutputParams> te::sa::BayesGlobalOperation::m_outputParams
protected

Attribute with the bayes output parameters.

Definition at line 89 of file BayesGlobalOperation.h.

Referenced by createDataSetType(), saveDataSet(), and setParameters().


The documentation for this class was generated from the following files: