mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-20 12:51:57 +03:00
1 line
1.6 KiB
JavaScript
1 line
1.6 KiB
JavaScript
initSidebarItems({"constant":[["PROTECTED",""],["YIELD",""]],"fn":[["all_walk_all_yield",""],["degenerate",""],["expand_all_stages",""],["four_way_four_stage",""],["four_way_two_stage",""],["get_possible_policies","Applies a bunch of heuristics to a single intersection, returning the valid results in best-first order. The signal configuration is only based on the roads connected to the intersection."],["get_sorted_incoming_roads","Return all incoming roads to an intersection, sorted by angle. This skips one-way roads outbound from the intersection, since no turns originate from those anyway. This allows heuristics for a 3-way intersection to not care if one of the roads happens to be a dual carriageway (split into two one-ways)."],["greedy_assignment",""],["half_signal",""],["helper",""],["make_stages",""],["make_stages_filtered",""],["new",""],["stage_per_road",""],["synchronize","Simple second-pass after generating all signals. Find pairs of traffic signals very close to each other with 2 stages each, see if the primary movement of the first stages lead to each other, and flip the order of stages if not. This is often wrong when the most common movement is actually turning left then going straight (near Mercer for example), but not sure how we could know that without demand data."],["three_way",""]],"mod":[["brute_force",""],["lagging_green","The various traffic signal generators live in the traffic signal module. Eventually, we might want to move to a trait. For now, there's a single make_traffic_signal static method in each generator file, which is called to generate a traffic signal of a particular flavor."]],"struct":[["Partition",""]]}); |