#include <PSMTrainer.h>
Public Member Functions | |
void | addSceneGraphMessages (std::vector< ISM::ObjectSetPtr > pMessages) |
PSMTrainer (const double pStaticBreakRatio, const double pTogetherRatio, const double pMaxAngleDeviation) | |
~PSMTrainer () | |
Public Member Functions inherited from SceneModel::AbstractTrainer | |
AbstractTrainer () | |
boost::shared_ptr< TreeNode > | getTree () |
void | loadTrajectoriesAndBuildTree () |
void | loadTrajectoriesAndBuildTree (std::string pType) |
~AbstractTrainer () | |
Private Attributes | |
boost::shared_ptr< PbdSceneGraphSource > | pbdSource |
Additional Inherited Members | |
Protected Attributes inherited from SceneModel::AbstractTrainer | |
boost::shared_ptr< AbstractGraphGenerator > | generator |
boost::shared_ptr< TreeNode > | root |
boost::shared_ptr< AbstractSource > | source |
This class is the trainer used by the Probabilistic Scene Model.
Definition at line 42 of file PSMTrainer.h.
SceneModel::PSMTrainer::PSMTrainer | ( | const double | pStaticBreakRatio, |
const double | pTogetherRatio, | ||
const double | pMaxAngleDeviation | ||
) |
Constructor.
pStaticBreakRatio | Maximal percentage of breaks in object relation. |
pTogetherRatio | Minimal percentage of the frames objects are related relation. |
pMaxAngleDeviation | Maximal allowed angular distance between two objects. |
Definition at line 22 of file PSMTrainer.cpp.
SceneModel::PSMTrainer::~PSMTrainer | ( | ) |
Destructor.
Definition at line 37 of file PSMTrainer.cpp.
void SceneModel::PSMTrainer::addSceneGraphMessages | ( | std::vector< ISM::ObjectSetPtr > | pMessages | ) |
Adds a ISM::ObjectSet for conversion into a trajectory.
pMessage | The messages to add to the source. |
Definition at line 42 of file PSMTrainer.cpp.
|
private |
A source for collecting and converting ISM::ObjectSets.
Definition at line 72 of file PSMTrainer.h.