#include <CombinatorialGraphGenerator.h>
Public Member Functions | |
void | buildTree (SceneModel::ObjectSetList pObjectSets, boost::shared_ptr< SceneModel::TreeNode > &pRoot) |
void | buildTree (SceneModel::ObjectSetList pTrajectories, boost::shared_ptr< SceneModel::TreeNode > &pRoot, std::string pType) |
CombinatorialGraphGenerator (std::vector< boost::shared_ptr< SceneObjectLearner >> pLearners, std::vector< std::string > pObjectTypes) | |
~CombinatorialGraphGenerator () | |
Private Attributes | |
std::vector< boost::shared_ptr< SceneObjectLearner > > | mLearners |
std::vector< std::string > | mObjectTypes |
Generates a tree with references representing a topology selected with combinatorial optimization.
Definition at line 39 of file CombinatorialGraphGenerator.h.
ProbabilisticSceneRecognition::CombinatorialGraphGenerator::CombinatorialGraphGenerator | ( | std::vector< boost::shared_ptr< SceneObjectLearner >> | pLearners, |
std::vector< std::string > | pObjectTypes | ||
) |
Constructor.
pLearners | the learners used to generate the models from the topologies that are considered during optimization |
pObjectTypes | the possible object types in the model |
Definition at line 23 of file CombinatorialGraphGenerator.cpp.
ProbabilisticSceneRecognition::CombinatorialGraphGenerator::~CombinatorialGraphGenerator | ( | ) |
Destructor.
Definition at line 28 of file CombinatorialGraphGenerator.cpp.
void ProbabilisticSceneRecognition::CombinatorialGraphGenerator::buildTree | ( | SceneModel::ObjectSetList | pObjectSets, |
boost::shared_ptr< SceneModel::TreeNode > & | pRoot | ||
) |
Builds the tree.
pObjectSets | The list of trajectories to build the tree from. |
pRoot | The root node of the tree. |
Definition at line 30 of file CombinatorialGraphGenerator.cpp.
void ProbabilisticSceneRecognition::CombinatorialGraphGenerator::buildTree | ( | SceneModel::ObjectSetList | pTrajectories, |
boost::shared_ptr< SceneModel::TreeNode > & | pRoot, | ||
std::string | pType | ||
) |
Builds the tree, forces the object with the given type as root node and appends a new node to what ever node it is appropriate
pTrajectories | The list of trajectories to build the tree from. |
pRoot | The root node of the tree. |
pType | Type of the object that should be forced as root node. |
Definition at line 35 of file CombinatorialGraphGenerator.cpp.
|
private |
The learners used to generate the models from the topologies that are considered during optimization
Definition at line 77 of file CombinatorialGraphGenerator.h.
|
private |
The possible object types in the model
Definition at line 82 of file CombinatorialGraphGenerator.h.