47 const std::string& programID,
const Phases& phases,
int step,
65 return "DeterministicHighLevelTrafficLightLogic";
113 void choosePolicy(
double mean_vSpeed_in,
double mean_vSpeed_out);
std::set< std::string > MSLaneID_set
void choosePolicy(double mean_vSpeed_in, double mean_vSpeed_out)
const std::string getLogicType() const
Returns the type of the logic as a string.
double getMeanSpeedForOutputLanes()
void init(NLDetectorBuilder &nb)
Initialises the tls with sensors on incoming and outgoing lanes Sensors are built in the simulation a...
MSLaneID_set inputLanes
This pheronome is an indicator of congestion on input lanes. Its levels refer to the average speed of...
~MSDeterministicHiLevelTrafficLightLogic()
void decidePolicy()
Decide the current policy according to pheromone levels The decision reflects on currentPolicy value.
MSLaneID_set outputLanes
This pheromone is an indicator of congestion on output lanes. Its levels refer to the average speed o...
double getMeanSpeedForInputLanes()
A self-organizing high-level traffic light logic.
A class that stores and controls tls and switching of their programs.
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Builds detectors for microsim.
std::map< std::string, std::string > Map
parameters map