#include <AbstractTrainer.h>
Public Member Functions | |
AbstractTrainer () | |
boost::shared_ptr< TreeNode > | getTree () |
void | loadTrajectoriesAndBuildTree () |
void | loadTrajectoriesAndBuildTree (std::string pType) |
~AbstractTrainer () | |
Protected Attributes | |
boost::shared_ptr< AbstractGraphGenerator > | generator |
boost::shared_ptr< TreeNode > | root |
boost::shared_ptr< AbstractSource > | source |
This abstract class is the prototype of a tree learner. It takes object trajectories and converts them to a tree symbolizing the hierarchical relations between objects.
Definition at line 43 of file AbstractTrainer.h.
SceneModel::AbstractTrainer::AbstractTrainer | ( | ) |
Constructor.
Definition at line 22 of file AbstractTrainer.cpp.
SceneModel::AbstractTrainer::~AbstractTrainer | ( | ) |
Destructor.
Definition at line 26 of file AbstractTrainer.cpp.
boost::shared_ptr< TreeNode > SceneModel::AbstractTrainer::getTree | ( | ) |
Returns the tree.
Definition at line 52 of file AbstractTrainer.cpp.
void SceneModel::AbstractTrainer::loadTrajectoriesAndBuildTree | ( | ) |
Loads the trajectories and builds the tree.
Definition at line 30 of file AbstractTrainer.cpp.
void SceneModel::AbstractTrainer::loadTrajectoriesAndBuildTree | ( | std::string | pType | ) |
Loads the trajectories and builds the tree, using the object with the specified type as root node.
pType | Type of the object that should be forced as root node. |
Definition at line 41 of file AbstractTrainer.cpp.
|
protected |
Converts the trajectories delivered by the source into a tree representing the hierarchical object relationships.
Definition at line 88 of file AbstractTrainer.h.
|
protected |
The root element of the tree of hierarchical relations.
Definition at line 78 of file AbstractTrainer.h.
|
protected |
The source for the trajectories the generator converts into a hierarachical tree.
Definition at line 83 of file AbstractTrainer.h.