Function map_model::pathfind::zone_cost[][src]

pub fn zone_cost(
    turn: &Turn,
    constraints: PathConstraints,
    map: &Map
) -> Duration

Heavily penalize crossing into an access-restricted zone that doesn't allow this mode.