[][src]Function map_model::connectivity::all_costs_from

pub fn all_costs_from(
    map: &Map,
    start: BuildingID,
    time_limit: Duration,
    constraints: PathConstraints
) -> HashMap<BuildingID, Duration>

Starting from one building, calculate the cost to all others. If a destination isn't reachable, it won't be included in the results. Ignore results greater than the time_limit away.