#include <Topology.h>
| Public Member Functions | |
| double | getAverageRecognitionRuntime () const | 
| double | getCost () const | 
| double | getFalseNegatives () const | 
| double | getFalsePositives () const | 
| boost::shared_ptr< TreeNode > | getTree () | 
| bool | isCostValid () const | 
| bool | isEvaluated () const | 
| bool | isTreeValid () const | 
| void | setCost (double pCost) | 
| void | setEvaluationResult (double pAverageRecognitionRuntime, double pFalsePositives, double pFalseNegatives) | 
| void | setTree (boost::shared_ptr< TreeNode > pTree) | 
| Topology () | |
| ~Topology () | |
| Public Attributes | |
| std::string | mIdentifier | 
| std::vector< boost::shared_ptr< Relation > > | mRelations | 
| bool | mUsedInOptimization | 
| Private Attributes | |
| double | mAverageRecognitionRuntime | 
| double | mCost | 
| bool | mCostValid | 
| bool | mEvaluated | 
| unsigned int | mFalseNegatives | 
| unsigned int | mFalsePositives | 
| boost::shared_ptr< TreeNode > | mTree | 
Container class for a topology.
Definition at line 32 of file Topology.h.
| SceneModel::Topology::Topology | ( | ) | 
Constructor.
Definition at line 23 of file Topology.cpp.
| SceneModel::Topology::~Topology | ( | ) | 
Destructor.
Definition at line 26 of file Topology.cpp.
| double SceneModel::Topology::getAverageRecognitionRuntime | ( | ) | const | 
Get the average recognition runtime of test sets during evaluation.
Definition at line 36 of file Topology.cpp.
| double SceneModel::Topology::getCost | ( | ) | const | 
Get the cost calculated for the tree generated from the relations of this topology.
Definition at line 68 of file Topology.cpp.
| double SceneModel::Topology::getFalseNegatives | ( | ) | const | 
Get the number of false negatives encountered during evaluation.
Definition at line 50 of file Topology.cpp.
| double SceneModel::Topology::getFalsePositives | ( | ) | const | 
Get the number of false positives encountered during evaluation.
Definition at line 43 of file Topology.cpp.
| boost::shared_ptr< TreeNode > SceneModel::Topology::getTree | ( | ) | 
Get the tree that was generated for the relations of this topology.
Definition at line 85 of file Topology.cpp.
| bool SceneModel::Topology::isCostValid | ( | ) | const | 
Returns whether the cost is valid.
Definition at line 75 of file Topology.cpp.
| bool SceneModel::Topology::isEvaluated | ( | ) | const | 
Returns whether the topology has been evaluated.
Definition at line 57 of file Topology.cpp.
| bool SceneModel::Topology::isTreeValid | ( | ) | const | 
Returns whether the tree is valid.
Definition at line 97 of file Topology.cpp.
| void SceneModel::Topology::setCost | ( | double | pCost | ) | 
Set the cost calculated for the tree generated from the relations of this topology.
| pCost | the cost calculated for the tree generated from the relations of this topology. | 
Definition at line 62 of file Topology.cpp.
| void SceneModel::Topology::setEvaluationResult | ( | double | pAverageRecognitionRuntime, | 
| double | pFalsePositives, | ||
| double | pFalseNegatives | ||
| ) | 
Set the evaluation result of this topology.
| pAverageRecognitionRuntime | The average recognition runtime of test sets during evaluation. | 
| pFalsePositives | The number of false positives encountered during evaluation | 
| pFalseNegatives | The number of false negatives encountered during evaluation. | 
Definition at line 28 of file Topology.cpp.
| void SceneModel::Topology::setTree | ( | boost::shared_ptr< TreeNode > | pTree | ) | 
Set the tree that was generated for the relations of this topology.
| pTree | the tree that was generated for the relations of this topology. | 
Definition at line 80 of file Topology.cpp.
| 
 | private | 
The average recognition runtime of test sets during evaluation.
Definition at line 142 of file Topology.h.
| 
 | private | 
The cost calculated for the tree generated from the relations of this topology.
Definition at line 157 of file Topology.h.
| 
 | private | 
Whether the cost calculated for the tree generated from the relations of this topology is valid.
Definition at line 152 of file Topology.h.
| 
 | private | 
Whether the result of the evaluation of this topology is valid.
Definition at line 132 of file Topology.h.
| 
 | private | 
The number of false negatives encountered during evaluation.
Definition at line 147 of file Topology.h.
| 
 | private | 
The number of false positives encountered during evaluation
Definition at line 137 of file Topology.h.
| std::string SceneModel::Topology::mIdentifier | 
A unique identifier
Definition at line 53 of file Topology.h.
| std::vector<boost::shared_ptr<Relation> > SceneModel::Topology::mRelations | 
The relations of which this topology is made of.
Definition at line 48 of file Topology.h.
| 
 | private | 
The tree that was generated for the relations of this topology. Check for nullpointer when checking validity.
Definition at line 163 of file Topology.h.
| bool SceneModel::Topology::mUsedInOptimization | 
Whether this topology has already been visited during optimization.
Definition at line 58 of file Topology.h.