Module map_model::pathfind::vehicles[][src]

Pathfinding for cars, bikes, buses, and trains using contraction hierarchies

Structs

VehiclePathfinder

Enums

Node

Functions

make_input_graph
vehicle_cost

This returns the pathfinding cost of crossing one lane 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.