TopologyEvaluator.h
Go to the documentation of this file.
1 
18 #pragma once
19 
21 
22 #include "helper/PrintHelper.h"
23 
24 
26 
31 public:
32 
39  TopologyEvaluator(std::vector<boost::shared_ptr<ISM::ObjectSet>> pExamplesList,
40  std::vector<boost::shared_ptr<SceneObjectLearner>> pLearners, double pRecognitionThreshold);
41 
46 
53  bool evaluate(boost::shared_ptr<SceneModel::Topology> pTopology, bool pFullyMeshed = false);
54 
55 private:
56 
64  std::pair<double, double> recognize(boost::shared_ptr<TestSet> pEvidence, bool pFullyMeshed = false);
65 
72 
78 
84 
88  std::vector<boost::shared_ptr<ISM::ObjectSet>> mExamplesList;
89 
93  std::vector<boost::shared_ptr<SceneObjectLearner>> mLearners;
94 
99  unsigned int mRunNumber;
100 
105 
109  std::ofstream mRuntimeLogger;
110 
115 
120  std::string mInferenceAlgorithm;
121 
126  std::string mXmlOutput;
127 
131  std::string mXmlFilePath;
132 
136  boost::property_tree::ptree mModel;
137 
142 
143  // Visualization parameters:
155  std::string mFrameId;
159  double mScaleFactor;
164 
169 };
170 
171 }
std::vector< boost::shared_ptr< SceneObjectLearner > > mLearners
void xmlOutput(boost::shared_ptr< SceneModel::Topology > pTopology)
std::pair< double, double > recognize(boost::shared_ptr< TestSet > pEvidence, bool pFullyMeshed=false)
std::vector< boost::shared_ptr< ISM::ObjectSet > > mExamplesList
double getProbability(boost::shared_ptr< TestSet > pEvidence)
bool evaluate(boost::shared_ptr< SceneModel::Topology > pTopology, bool pFullyMeshed=false)
boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mVisualizer
void update(boost::shared_ptr< SceneModel::TreeNode > pTree)
TopologyEvaluator(std::vector< boost::shared_ptr< ISM::ObjectSet >> pExamplesList, std::vector< boost::shared_ptr< SceneObjectLearner >> pLearners, double pRecognitionThreshold)


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:08