22 #include <ISM/combinatorial_optimization/CostFunction.hpp> 23 #include <topology_creator/Topology.h> 30 class WeightedSum:
public ISM::CostFunction<boost::shared_ptr<SceneModel::Topology>> {
44 WeightedSum(
unsigned int minFalsePositives,
unsigned int maxFalsePositives,
45 unsigned int minFalseNegatives,
unsigned int maxFalseNegatives,
46 double minAverageRecognitionRuntime,
double maxAverageRecognitionRuntime,
47 double alpha,
double beta,
double gamma);
WeightedSum(unsigned int minFalsePositives, unsigned int maxFalsePositives, unsigned int minFalseNegatives, unsigned int maxFalseNegatives, double minAverageRecognitionRuntime, double maxAverageRecognitionRuntime, double alpha, double beta, double gamma)
unsigned int mMinFalsePositives
double getNormalisedFalseNegatives(unsigned int falseNegatives)
unsigned int mMaxFalseNegatives
double mMinAverageRecognitionRuntime
double getNormalisedFalsePositives(unsigned int falsePositives)
double mMaxAverageRecognitionRuntime
double getNormalisedAverageRecognitionRuntime(double averageRecognitionRuntime)
unsigned int mMinFalseNegatives
double calculateCost(boost::shared_ptr< SceneModel::Topology > instance)
unsigned int mMaxFalsePositives