20 #ifndef MSSOTLPOLICYDESIRABILITY_H_ 21 #define MSSOTLPOLICYDESIRABILITY_H_ 55 const std::map<std::string, std::string>& parameters);
62 double vehOutMeasure) = 0;
67 double vehInDispersionMeasure,
68 double vehOutDispersionMeasure) = 0;
virtual std::string getMessage()=0
static double _2doubleSec(const E *const data, double def)
converts a 0-terminated char-type array into the double value described by it
virtual double computeDesirability(double vehInMeasure, double vehOutMeasure)=0
Calculates the desirability of the policy.
void setKeyPrefix(std::string val)
MSSOTLPolicyDesirability(std::string keyPrefix, const std::map< std::string, std::string > ¶meters)
An upper class for objects with additional parameters.
std::string getKeyPrefix()
This class determines the desirability algorithm of a MSSOTLPolicy when used in combination with a hi...
virtual ~MSSOTLPolicyDesirability()
const std::string getParameter(const std::string &key, const std::string &defaultValue="") const
Returns the value for a given key.
double readParameter(std::string parName, double defValue)