abstreet/rustdoc/map_model/connectivity/sidebar-items.js
2021-05-06 18:00:40 +00:00

1 line
1.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

initSidebarItems({"enum":[["WalkingNode",""]],"fn":[["all_vehicle_costs_from","Starting from some initial buildings, calculate the cost to all others. If a destination isnt reachable, it wont be included in the results. Ignore results greater than the time_limit away."],["all_walking_costs_from","Starting from some initial buildings, calculate the cost to all others. If a destination isnt reachable, it wont be included in the results. Ignore results greater than the time_limit away."],["debug_vehicle_costs","Return the cost of a single path, and also a mapping from every directed road to the cost of getting there from the same start. This can be used to understand why an alternative route wasnt chosen."],["find_scc","Calculate the strongly 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)"],["vehicle_cost","This returns the pathfinding cost of crossing one road and turn. This is also expressed in units of time. It factors in the ideal time to cross the space, along with penalties for entering an access-restricted zone, taking an unprotected turn, and so on."]],"mod":[["walking",""]],"struct":[["Item",""],["WalkingOptions",""]]});