route

fun route(fromLocation: LocationIfc, toLocation: LocationIfc): Route(source)

Plans a route from one intersection to another.

Throws

when either location belongs to another network

when the destination cannot be reached, or when the route selection rule returns a sequence a transporter could not follow