21 #ifndef MSSOTLPOLICYDESIRABILITY_H_
22 #define MSSOTLPOLICYDESIRABILITY_H_
56 const std::map<std::string, std::string>& parameters);
69 SUMOReal vehOutDispersionMeasure) = 0;
virtual std::string getMessage()=0
static SUMOReal _2SUMORealSec(const E *const data, SUMOReal def)
converts a 0-terminated char-type array into the SUMOReal value described by it
const std::string & getParameter(const std::string &key, const std::string &defaultValue) const
Returns the value for a given key.
SUMOReal readParameter(std::string parName, SUMOReal defValue)
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()
virtual SUMOReal computeDesirability(SUMOReal vehInMeasure, SUMOReal vehOutMeasure)=0
Calculates the desirability of the policy.