Public Member Functions | Protected Attributes | List of all members
ProbabilisticSceneRecognition::AbstractTopologyEvaluator Class Referenceabstract

#include <AbstractTopologyEvaluator.h>

Inheritance diagram for ProbabilisticSceneRecognition::AbstractTopologyEvaluator:
Inheritance graph
[legend]

Public Member Functions

void eraseInvalidTestSet (unsigned int pIndex)
 
void eraseValidTestSet (unsigned int pIndex)
 
virtual bool evaluate (boost::shared_ptr< SceneModel::Topology > pTopology, bool pFullyMeshed=false)=0
 
std::vector< boost::shared_ptr< TestSet > > getInvalidTestSets ()
 
double getRecognitionThreshold ()
 
std::vector< boost::shared_ptr< TestSet > > getValidTestSets ()
 
void setInvalidTestSets (const std::vector< boost::shared_ptr< TestSet >> &pInvalidTestSets)
 
void setRecognitionThreshold (double pRecognitionThreshold)
 
void setValidTestSets (const std::vector< boost::shared_ptr< TestSet >> &pValidTestSets)
 

Protected Attributes

std::vector< boost::shared_ptr< TestSet > > mInvalidTestSets
 
double mRecognitionThreshold
 
std::vector< boost::shared_ptr< TestSet > > mValidTestSets
 

Detailed Description

Tests learned models of topologies against valid and invalid test sets.

Definition at line 38 of file AbstractTopologyEvaluator.h.

Member Function Documentation

void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::eraseInvalidTestSet ( unsigned int  pIndex)

erase the invalid Test Set at the given index.

Parameters
pIndexindex of the invalid test set to erase.

Definition at line 59 of file AbstractTopologyEvaluator.cpp.

void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::eraseValidTestSet ( unsigned int  pIndex)

erase the Valid Test Set at the given index.

Parameters
pIndexindex of the valid test set to erase.

Definition at line 52 of file AbstractTopologyEvaluator.cpp.

virtual bool ProbabilisticSceneRecognition::AbstractTopologyEvaluator::evaluate ( boost::shared_ptr< SceneModel::Topology >  pTopology,
bool  pFullyMeshed = false 
)
pure virtual

Evaluate model learned on topology against test sets, write results to topology.

Parameters
pTopologyto evaluate.
pFullyMeshedwhether the topology to evaluate is the fully meshed one.
Returns
whether a new evaluation was neccessary.

Implemented in ProbabilisticSceneRecognition::TopologyEvaluator.

std::vector< boost::shared_ptr< TestSet > > ProbabilisticSceneRecognition::AbstractTopologyEvaluator::getInvalidTestSets ( )

Get invalid test sets.

Returns
the invalid test sets.

Definition at line 37 of file AbstractTopologyEvaluator.cpp.

double ProbabilisticSceneRecognition::AbstractTopologyEvaluator::getRecognitionThreshold ( )

Get recognition threshold.

Returns
the recognition threshold.

Definition at line 47 of file AbstractTopologyEvaluator.cpp.

std::vector< boost::shared_ptr< TestSet > > ProbabilisticSceneRecognition::AbstractTopologyEvaluator::getValidTestSets ( )

Get valid test sets.

Returns
the valid test sets.

Definition at line 27 of file AbstractTopologyEvaluator.cpp.

void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::setInvalidTestSets ( const std::vector< boost::shared_ptr< TestSet >> &  pInvalidTestSets)

Set invalid test sets.

Parameters
pInvalidTestSetsinvalid test sets to set.

Definition at line 32 of file AbstractTopologyEvaluator.cpp.

void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::setRecognitionThreshold ( double  pRecognitionThreshold)

Set recognition threshold.

Parameters
pRecognitionThresholdrecognition threshold to set.

Definition at line 42 of file AbstractTopologyEvaluator.cpp.

void ProbabilisticSceneRecognition::AbstractTopologyEvaluator::setValidTestSets ( const std::vector< boost::shared_ptr< TestSet >> &  pValidTestSets)

Set valid test sets.

Parameters
pValidTestSetsvalid test sets to set.

Definition at line 22 of file AbstractTopologyEvaluator.cpp.

Member Data Documentation

std::vector<boost::shared_ptr<TestSet> > ProbabilisticSceneRecognition::AbstractTopologyEvaluator::mInvalidTestSets
protected

The test sets that resemble but do not represent the considered scene.

Definition at line 106 of file AbstractTopologyEvaluator.h.

double ProbabilisticSceneRecognition::AbstractTopologyEvaluator::mRecognitionThreshold
protected

Threshold above which (>) a probability is seen as high enough to represent a scene has been recognized.

Definition at line 112 of file AbstractTopologyEvaluator.h.

std::vector<boost::shared_ptr<TestSet> > ProbabilisticSceneRecognition::AbstractTopologyEvaluator::mValidTestSets
protected

The test sets which represent the considered scene.

Definition at line 102 of file AbstractTopologyEvaluator.h.


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


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09