53 boost::property_tree::ptree subtree;
57 subtree.add(
"<xmlattr>.type",
"ocm");
58 subtree.add(
"<xmlattr>.priori",
mPriori);
64 pPt.add_child(
"object", subtree);
71 throw std::runtime_error(
"FATAL ERROR: Relation graph generator wasn't able to provide a tree.");
80 std::cout <<
"------------- TREE:" << std::endl;
81 pTree->printTreeToConsole(0);
82 std::cout <<
"---------------------" << std::endl;
std::vector< boost::shared_ptr< TermLearner > > mTermLearners
std::string mSceneObjectType
boost::shared_ptr< OcmModel > mOcmModel
OcmSceneObjectLearner(std::string pSceneObjectType, std::string pSceneName="")
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mVisualizer
#define ROS_INFO_STREAM(args)
void learn(std::vector< ISM::ObjectSetPtr > pExamplesList, boost::shared_ptr< SceneModel::TreeNode > pTree)
void save(boost::property_tree::ptree &pPt)
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)