CombinatorialTrainer.cpp
Go to the documentation of this file.
1 
19 
21 
23  std::vector<std::string> pObjectTypes)
24  : SceneModel::AbstractTrainer()
25  {
26  std::cout << "Learning tree with combinatorial optimization." << std::endl;
27 
28  // Initilaize a source that translates evidence messages.
29  examplesListSource = boost::shared_ptr<SceneModel::ExamplesListSource>(new SceneModel::ExamplesListSource());
30  source = examplesListSource;
31 
32  // Initialize the generator for building the tree using combinatorial optimization.
34  generator = gen;
35 
36  std::cout << "Combinatorial optimization prepared." << std::endl;
37  }
38 
40  { }
41 
42  void CombinatorialTrainer::addSceneGraphMessages(std::vector<ISM::ObjectSetPtr> pMessages)
43  {
44  examplesListSource->addSceneGraphMessage(pMessages);
45  }
46 
47 }
void addSceneGraphMessages(std::vector< ISM::ObjectSetPtr > pMessages)
CombinatorialTrainer(std::vector< boost::shared_ptr< SceneObjectLearner >> pLearners, std::vector< std::string > pObjectTypes)
boost::shared_ptr< SceneModel::ExamplesListSource > examplesListSource


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54