[][src]Module map_model::connectivity

Enums

WalkingNode

Functions

all_costs_from

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

build_graph_for_pedestrians
driving_cost
find_scc

Calculate the srongy connected components (SCC) of the part of the map accessible by constraints (ie, the graph of sidewalks or driving+bike lanes). The largest component is the "main" graph; the rest is disconnected. Returns (lanes in the largest "main" component, all other disconnected lanes)