Structs§
- An attempt to standardise language around turn restrictions. NOTE AT PRESENT THIS IS ASPIRATIONAL - DO NOT ASSUME THAT THE RELEVANT CODE ADHERES TO THESE RULES Future refactoring should migrate to these conventions.
Functions§
- Returns a HashSet of all roads which are connected by driving from RoadID. This accounts for oneway restrictions, but not turn restrictions. eg:
- Returns all roads that are possible destinations from the given “from_road” where the turn is currently prohibited by a turn restriction.
- checks that an Intersection ID is connected to a RoadID. Returns
true
if connected,false
otherwise.