This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# railscape_rraptor_hubs_with_stations_epoch_v3.py | |
""" | |
rRAPTOR Runner — Full-day search (00:00 → +24h) | |
------------------------------------------------ | |
Improvements: | |
- Removes explicit start_time (always start-of-day) | |
- Allows immediate boarding at origin (no min transfer) | |
- Maintains per-round best_arrival to avoid over-pruning | |
- Keeps safer leg deduplication (train_no + dep_station + arr_hub) |