 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
23 const std::map<std::string, std::string>& parameters) :
37 const std::map<std::string, std::string>& parameters) :
38 MSSOTLPolicy(
"Marching", desirabilityAlgorithm, parameters) {
Class for a low-level policy.
void setKeyPrefix(std::string val)
bool canRelease(SUMOTime elapsed, bool thresholdPassed, bool pushButtonPressed, const MSPhaseDefinition *stage, int vehicleCount)
MSSOTLPolicyDesirability * getDesirabilityAlgorithm()
SUMOTime duration
The duration of the phase.
MSSOTLMarchingPolicy(const std::map< std::string, std::string > ¶meters)
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...
SUMOTime minDuration
The minimum duration of the phase.