Skip to content

Commit

Permalink
#2 doc fix #14622
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 28, 2024
1 parent 3c4e98e commit 603fa55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/web/docs/Simulation/Traffic_Lights.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ When a phase uses attribute 'next' with a list of indices. The next phase is cho
- the current phase is implicitly available for continuation as long as its maxDur is not reached. Detectors of the current phase get a bonus priority
- the phase with the highest priority is used with phases coming earlier in the next list given precedence over those coming later
- if there is no traffic, the phases will run through a default cycle defined by the first value in the 'next' attribute
- if the traffic light uses [custom switching rules](#type_actuated_with_custom_switching_rules) then the default phase is the **last** value of the 'next' attribute
- if a particular phase should remain active indefinitely in the absence of traffic it must have its own index in the 'next' list as well as a high maxDur value
- if an active detector was not served for a given time threshold (param **inactive-threshold**), this detector receives bonus priority according the time it was not served. This can be used to prevent starvation if other phases are consistently preferred due to serving more traffic

Expand Down

0 comments on commit 603fa55

Please sign in to comment.