19 #ifndef MSSOTLPOLICYBASEDTRAFFICLIGHTLOGIC_H_ 20 #define MSSOTLPOLICYBASEDTRAFFICLIGHTLOGIC_H_ 55 const std::string&
id,
const std::string& programID,
const TrafficLightType logicType,
57 const std::map<std::string, std::string>& parameters,
73 const std::string&
id,
const std::string& programID,
const TrafficLightType logicType,
75 const std::map<std::string, std::string>& parameters,
88 return "policyBasedTrafficLightLogic";
A class that stores and controls tls and switching of their programs.
A self-organizing traffic light logic based on a particular policy.
A self-organizing traffic light logic.
~MSSOTLPolicyBasedTrafficLightLogic()
const std::string getLogicType() const
Returns the type of the logic as a string.
MSSOTLPolicyBasedTrafficLightLogic(MSTLLogicControl &tlcontrol, const std::string &id, const std::string &programID, const TrafficLightType logicType, const Phases &phases, int step, SUMOTime delay, const std::map< std::string, std::string > ¶meters, MSSOTLPolicy *policy)
Constructor without sensors passed.
MSSOTLPolicy * getPolicy()
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Class for a low-level policy.