Struct map_model::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 find_all(map: &Map) -> Vec<IntersectionCluster>ⓘ
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.