AbstractTopologyEvaluator.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <trainer/TopologyTreeTrainer.h>
21 #include <topology_creator/Topology.h>
22 
23 #include <boost/property_tree/xml_parser.hpp>
24 
25 #include <ISM/common_type/ObjectSet.hpp>
26 
30 
32 
34 
39 public:
40 
47  virtual bool evaluate(boost::shared_ptr<SceneModel::Topology> pTopology, bool pFullyMeshed = false) = 0;
48 
53  void setValidTestSets(const std::vector<boost::shared_ptr<TestSet>>& pValidTestSets);
54 
59  std::vector<boost::shared_ptr<TestSet>> getValidTestSets();
60 
65  void setInvalidTestSets(const std::vector<boost::shared_ptr<TestSet>>& pInvalidTestSets);
66 
71  std::vector<boost::shared_ptr<TestSet>> getInvalidTestSets();
72 
77  void setRecognitionThreshold(double pRecognitionThreshold);
78 
83  double getRecognitionThreshold();
84 
89  void eraseValidTestSet(unsigned int pIndex);
90 
95  void eraseInvalidTestSet(unsigned int pIndex);
96 
97 protected:
98 
102  std::vector<boost::shared_ptr<TestSet>> mValidTestSets;
106  std::vector<boost::shared_ptr<TestSet>> mInvalidTestSets;
107 
108 
113 
114 };
115 
116 }
std::vector< boost::shared_ptr< TestSet > > mInvalidTestSets
std::vector< boost::shared_ptr< TestSet > > getValidTestSets()
std::vector< boost::shared_ptr< TestSet > > mValidTestSets
void setInvalidTestSets(const std::vector< boost::shared_ptr< TestSet >> &pInvalidTestSets)
std::vector< boost::shared_ptr< TestSet > > getInvalidTestSets()
void setValidTestSets(const std::vector< boost::shared_ptr< TestSet >> &pValidTestSets)
virtual bool evaluate(boost::shared_ptr< SceneModel::Topology > pTopology, bool pFullyMeshed=false)=0


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