quetzal.engine.pathfinder module
- class quetzal.engine.pathfinder.PublicPathFinder(model, walk_on_road=False)[source]
Bases:
object
- build_route_zones(route_column)[source]
find origin zones that are likely to be affected by the removal each one of the routes
- find_best_path(od_set=None, cutoff=inf, boarding_time=None, ntlegs_penalty=1000000000.0, engine='b', build_shortcuts=False, **kwargs)[source]
- find_best_paths(route_column='route_id', mode_column='route_type', broken_routes=False, broken_modes=False, drop_duplicates=True, speedup=True, cutoff=inf, od_set=None, boarding_time=None, **kwargs)[source]
- find_broken_combination_paths(column=None, prune=True, cutoff=inf, build_shortcuts=False, boarding_time=None)[source]
- find_broken_mode_paths(od_set=None, cutoff=inf, mode_column='mode_type', ntlegs_penalty=1000000000.0, boarding_time=None, prune=True, **kwargs)[source]