Function map_model::connectivity::all_vehicle_costs_from
source · pub fn all_vehicle_costs_from(
map: &Map,
starts: Vec<Spot>,
time_limit: Duration,
constraints: PathConstraints
) -> HashMap<BuildingID, Duration>
Expand description
Starting from some initial spot, calculate the cost to all buildings. If a destination isn’t reachable, it won’t be included in the results. Ignore results greater than the time_limit away.