ltn::logic::turn_restrictions

Function restricted_destination_roads

Source
pub fn restricted_destination_roads(
    map: &Map,
    from_road_id: RoadID,
    i: Option<IntersectionID>,
) -> HashSet<RoadID>
Expand description

Returns all roads that are possible destinations from the given “from_road” where the turn is currently prohibited by a turn restriction.