All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::auto_ptr< te::mem::DataSetcreateDataSet (te::da::DataSet *inputDataSet, te::da::DataSetType *dsType)
 
std::auto_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::auto_ptr
< te::sa::BayesInputParams
m_inputParams
 Attribute with the bayes input parameters. More...
 
std::auto_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 constructor.

Definition at line 49 of file BayesLocalOperation.cpp.

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

Virtual destructor.

Definition at line 53 of file BayesLocalOperation.cpp.

Member Function Documentation

std::auto_ptr< te::da::DataSetType > te::sa::BayesLocalOperation::createDataSetType ( te::da::DataSetType dsType)
protected
void te::sa::BayesLocalOperation::execute ( )
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 97 of file BayesLocalOperation.cpp.

References te::da::DataSet::moveBeforeFirst().

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

Member Data Documentation

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

Attribute with the bayes input parameters.

Definition at line 88 of file BayesLocalOperation.h.

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

Attribute with the bayes output parameters.

Definition at line 90 of file BayesLocalOperation.h.


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