21 #ifndef MSSOTLPOLICYBASEDTRAFFICLIGHTLOGIC_H_ 22 #define MSSOTLPOLICYBASEDTRAFFICLIGHTLOGIC_H_ 60 const std::string&
id,
const std::string& subid,
62 const std::map<std::string, std::string>& parameters,
77 const std::string&
id,
const std::string& subid,
79 const std::map<std::string, std::string>& parameters,
92 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.
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.
MSSOTLPolicy * getPolicy()
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Class for a low-level policy.