te::sa::BayesLocalOperation Class Reference

#include <BayesLocalOperation.h>

Public Member Functions

 BayesLocalOperation ()
 Default constructor. More...
 
void execute ()
 Function to execute the bayes operation. More...
 
void setParameters (te::sa::BayesInputParams *inParams, te::sa::BayesOutputParams *outParams)
 
 ~BayesLocalOperation ()
 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 runBayesLocal (te::mem::DataSet *ds, std::size_t idIdx, std::size_t eventIdx, std::size_t popIdx, std::size_t neighEventIdx, std::size_t neighPopIdx, std::size_t bayesIdx, std::size_t gpmEventIdx, std::size_t gpmPopIdx)
 
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

Definition at line 55 of file BayesLocalOperation.h.

Constructor & Destructor Documentation

te::sa::BayesLocalOperation::BayesLocalOperation ( )
default

Default constructor.

te::sa::BayesLocalOperation::~BayesLocalOperation ( )
default

Virtual destructor.

Member Function Documentation

std::unique_ptr< te::mem::DataSet > te::sa::BayesLocalOperation::createDataSet ( te::da::DataSet *  inputDataSet,
te::da::DataSetType *  dsType 
)
protected
std::unique_ptr< te::da::DataSetType > te::sa::BayesLocalOperation::createDataSetType ( te::da::DataSetType *  dsType)
protected
void te::sa::BayesLocalOperation::runBayesLocal ( te::mem::DataSet *  ds,
std::size_t  idIdx,
std::size_t  eventIdx,
std::size_t  popIdx,
std::size_t  neighEventIdx,
std::size_t  neighPopIdx,
std::size_t  bayesIdx,
std::size_t  gpmEventIdx,
std::size_t  gpmPopIdx 
)
protected
void te::sa::BayesLocalOperation::saveDataSet ( te::da::DataSet *  dataSet,
te::da::DataSetType *  dsType 
)
protected

Function used to save the output dataset

Definition at line 93 of file BayesLocalOperation.cpp.

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

Referenced by execute().

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

Member Data Documentation

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

Attribute with the bayes input parameters.

Definition at line 88 of file BayesLocalOperation.h.

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

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

Attribute with the bayes output parameters.

Definition at line 90 of file BayesLocalOperation.h.

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


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