 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef MSTLRequestPolicy_h
18 #define MSTLRequestPolicy_h
39 const std::map<std::string, std::string>& parameters);
Class for a low-level policy.
const std::string getParameter(const std::string &key, const std::string &defaultValue="") const
Returns the value for a given key.
Class for low-level request policy.
static int toInt(const std::string &sData)
converts a string into the integer value described by it by calling the char-type converter,...
int getMinDecisionalPhaseDuration()
bool canRelease(SUMOTime elapsed, bool thresholdPassed, bool pushButtonPressed, const MSPhaseDefinition *stage, int vehicleCount)
The definition of a single phase of a tls logic.
This class determines the desirability algorithm of a MSSOTLPolicy when used in combination with a hi...
MSSOTLRequestPolicy(const std::map< std::string, std::string > ¶meters)