AbstractTopologyEvaluator.cpp
Go to the documentation of this file.
1 
19 
21 
23  {
24  mValidTestSets = pValidTestSets;
25  }
26 
27  std::vector<boost::shared_ptr<TestSet>> AbstractTopologyEvaluator::getValidTestSets()
28  {
29  return mValidTestSets;
30  }
31 
33  {
34  mInvalidTestSets = pInvalidTestSets;
35  }
36 
37  std::vector<boost::shared_ptr<TestSet>> AbstractTopologyEvaluator::getInvalidTestSets()
38  {
39  return mInvalidTestSets;
40  }
41 
42  void AbstractTopologyEvaluator::setRecognitionThreshold(double pRecognitionThreshold)
43  {
44  mRecognitionThreshold = pRecognitionThreshold;
45  }
46 
48  {
49  return mRecognitionThreshold;
50  }
51 
53  {
54  if (pIndex >= mValidTestSets.size())
55  throw std::runtime_error("In AbstractTopologyEvaluator::eraseValidTestSet(): index " + boost::lexical_cast<std::string>(pIndex) + " out of bounds.");
56  mValidTestSets.erase(mValidTestSets.begin() + pIndex);
57  }
58 
60  {
61  if (pIndex >= mInvalidTestSets.size())
62  throw std::runtime_error("In AbstractTopologyEvaluator::eraseInvalidTestSet(): index " + boost::lexical_cast<std::string>(pIndex) + " out of bounds.");
63  mInvalidTestSets.erase(mInvalidTestSets.begin() + pIndex);
64  }
65 
66 }
67 
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)


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