39 throw std::runtime_error(
"In Topology: trying to access average recogntition runtime without having evaluated the topology first.");
46 throw std::runtime_error(
"In Topology: trying to access number of false postives without having evaluated the topology first.");
53 throw std::runtime_error(
"In Topology: trying to access number of false negatives without having evaluated the topology first.");
71 throw std::runtime_error(
"In Topology: trying to access cost without having calculated it first.");
88 throw std::runtime_error(
"In Topology: trying to access tree without having set it first.");
99 if (!
mTree)
return false;
double getAverageRecognitionRuntime() const
void setCost(double pCost)
unsigned int mFalseNegatives
double mAverageRecognitionRuntime
double getFalseNegatives() const
boost::shared_ptr< TreeNode > getTree()
void setTree(boost::shared_ptr< TreeNode > pTree)
unsigned int mFalsePositives
void setEvaluationResult(double pAverageRecognitionRuntime, double pFalsePositives, double pFalseNegatives)
boost::shared_ptr< TreeNode > mTree
double getFalsePositives() const