Struct map_model::pathfind::uber_turns::IntersectionCluster [−][src]
pub struct IntersectionCluster { pub members: BTreeSet<IntersectionID>, pub uber_turns: Vec<UberTurn>, }
Expand description
This only applies to VehiclePathfinder; walking through these intersections is nothing special.
Fields
members: BTreeSet<IntersectionID>
uber_turns: Vec<UberTurn>
Implementations
pub fn new(
members: BTreeSet<IntersectionID>,
map: &Map
) -> (IntersectionCluster, IntersectionCluster)
pub fn new(
members: BTreeSet<IntersectionID>,
map: &Map
) -> (IntersectionCluster, IntersectionCluster)
(legal, illegal)
Find all other traffic signals “close” to one. Ignore stop sign intersections in between.
Group lane-based uber-turns into road-based UberTurnV2s.