mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 06:55:40 +03:00
1 line
647 B
JavaScript
1 line
647 B
JavaScript
initSidebarItems({"constant":[["WAIT_AT_STOP_SIGN",""],["WAIT_BEFORE_YIELD_AT_TRAFFIC_SIGNAL",""]],"fn":[["allow_block_the_box",""]],"struct":[["IntersectionSimState","Manages conflicts at intersections. When an agent has reached the end of a lane, they call maybe_start_turn to make a Request. Based on the intersection type (stop sign, traffic signal, or a “freeform policy”), the Request gets queued or immediately accepted. When agents finish turns or when some time passes (for traffic signals), the intersection also gets a chance to react, maybe granting one of the pending requests."],["Request",""],["SignalState",""],["State",""]]}); |