Alternating Arbiter
Turn and turn about: a signal with a cycle.
Pedestrians are admitted for walkTime once a turn opens, and the crossing then stays open to traffic for at least driveTime before another turn may begin. Both sides get a share that does not depend on how hard the other side is pushing, which is what neither priority rule can offer.
Parameters
walk Time
how long a pedestrian turn admits people
drive Time
the least time traffic gets between turns
Properties
Functions
Link copied to clipboard
May a pedestrian step onto the crossing now?
Link copied to clipboard
Should the crossing be held shut against vehicles?
Link copied to clipboard
When the crossing should ask again even though nothing has happened.
Link copied to clipboard
Told that a turn has ended, so a discipline with a memory can advance it.