98 const std::map<std::string, std::string>& parameters);
110 const std::map<std::string, std::string>& parameters);
113 virtual bool canRelease(
SUMOTime elapsed,
bool thresholdPassed,
bool pushButtonPressed,
116 int currentPhaseIndex,
int phaseMaxCTS,
bool thresholdPassed,
bool pushButtonPressed,
123 theta_sensitivity = val;
void init(std::string prefix, const Parameterised *parameterised)
virtual int decideNextPhase(SUMOTime elapsed, const MSPhaseDefinition *stage, int currentPhaseIndex, int phaseMaxCTS, bool thresholdPassed, bool pushButtonPressed, int vehicleCount)
virtual bool canRelease(SUMOTime elapsed, bool thresholdPassed, bool pushButtonPressed, const MSPhaseDefinition *stage, int vehicleCount)=0
bool sigmoidLogic(SUMOTime elapsed, const MSPhaseDefinition *stage, int vehicleCount)
virtual void setThetaSensitivity(SUMOReal val)
MSSOTLPolicyDesirability * getDesirabilityAlgorithm()
SUMOReal computeDesirability(SUMOReal vehInMeasure, SUMOReal vehOutMeasure, SUMOReal vehInDispersionMeasure, SUMOReal vehOutDispersionMeasure)
Computes the desirability of this policy, necessary when used in combination with an high level polic...
MSSOTLPolicy(std::string name, const std::map< std::string, std::string > ¶meters)
Simple constructor.
SUMOReal theta_sensitivity
The sensitivity of this policy.
An upper class for objects with additional parameters.
This class determines the desirability algorithm of a MSSOTLPolicy when used in combination with a hi...
Class for a low-level policy.
virtual SUMOReal getThetaSensitivity()
std::string myName
The name of the policy.
The definition of a single phase of a tls logic.
MSSOTLPolicyDesirability * myDesirabilityAlgorithm
A pointer to the policy desirability object.'s an optional component related to the computeDesirabili...