trips Module¶
Parses actions into separate trips
- class transperth.smart_rider.trips.TripTracer(actions)[source]¶
Bases: builtins.object
- determine_path(self, trip:list) → list[source]¶
Iterates through the steps in the trip, return a list of locations that were visited, in order, during the trip, along with the service used to travel there
- transperth.smart_rider.trips.determine_breadth(iterable)[source]¶
Determines the breadth of the addable contents of the iterable