22 #ifndef MSSOTLPOLICYBASEDTRAFFICLIGHTLOGIC_H_
23 #define MSSOTLPOLICYBASEDTRAFFICLIGHTLOGIC_H_
61 const std::string&
id,
const std::string& subid,
63 const std::map<std::string, std::string>& parameters,
78 const std::string&
id,
const std::string& subid,
80 const std::map<std::string, std::string>& parameters,
93 return "policyBasedTrafficLightLogic";
MSSOTLPolicyBasedTrafficLightLogic(MSTLLogicControl &tlcontrol, const std::string &id, const std::string &subid, const Phases &phases, int step, SUMOTime delay, const std::map< std::string, std::string > ¶meters, MSSOTLPolicy *policy)
Constructor without sensors passed.
const std::string getLogicType() const
Returns the type of the logic as a string.
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()
MSSOTLPolicy * getPolicy()
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Class for a low-level policy.