[−][src]Function map_model::pathfind::zone_cost
pub fn zone_cost(turn: &Turn, constraints: PathConstraints, map: &Map) -> f64
Heavily penalize crossing into an access-restricted zone that doesn't allow this mode.
pub fn zone_cost(turn: &Turn, constraints: PathConstraints, map: &Map) -> f64
Heavily penalize crossing into an access-restricted zone that doesn't allow this mode.