24 MSTLLogicControl& tlcontrol,
const std::string&
id,
const std::string& subid,
26 const std::map<std::string, std::string>& parameters)
throw() :
30 "*** Intersection " +
id 31 +
" will run using MSSOTLRequestTrafficLightLogic ---");
35 MSTLLogicControl& tlcontrol,
const std::string&
id,
const std::string& subid,
37 const std::map<std::string, std::string>& parameters,
40 parameters, sensors) {
42 "*** Intersection " +
id 43 +
" will run using MSSOTLRequestTrafficLightLogic ***");
int getMinDecisionalPhaseDuration()
MSSOTLRequestTrafficLightLogic(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)
Constructor without sensors passed.
A class that stores and controls tls and switching of their programs.
A self-organizing traffic light logic.
static MsgHandler * getMessageInstance()
Returns the instance to add normal messages to.
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
SUMOTime getCurrentPhaseElapsed()
void inform(std::string msg, bool addType=true)
adds a new error to the list