21 #ifndef MSSOTLPOLICYDESIRABILITY_H_ 22 #define MSSOTLPOLICYDESIRABILITY_H_ 56 const std::map<std::string, std::string>& parameters);
63 double vehOutMeasure) = 0;
68 double vehInDispersionMeasure,
69 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...
const std::string & getParameter(const std::string &key, const std::string &defaultValue) const
Returns the value for a given key.
virtual ~MSSOTLPolicyDesirability()
double readParameter(std::string parName, double defValue)