24 double normalisedFalsePositives =
26 double normalisedAverageRecognitionRuntime =
29 if (normalisedFalsePositives < 0 || normalisedAverageRecognitionRuntime < 0)
31 return std::numeric_limits<double>::infinity();
34 double cost =
mAlpha * normalisedFalsePositives +
mBeta * normalisedAverageRecognitionRuntime;
35 instance->cost = cost;
double calculateCost(TopologyPtr instance)
boost::shared_ptr< Topology > TopologyPtr
double mMinAverageRecognitionRuntime
double mMaxFalsePositives
double mMinFalsePositives
double getNormalisedAverageRecognitionRuntime(double averageRecognitionRuntime)
double getNormalisedFalsePositives(double falsePositives)
this namespace contains all generally usable classes.
double mMaxAverageRecognitionRuntime