# one to keep track of the last used service to arrive at a station
my%earliest;
# and one to save the station used to board this last used service
# one to save the station used to board this last used service
my%from;
# one to keep the arrival / departure times from a station
# (this allows us to avoid having to use get_eki_indexes)
my%adt;
# We also save the number of times a station was visited
# This may need a demonstration but we consider that the minimal time is already reached if the station is processed two times the number of routes it is served by.
...
...
@@ -148,8 +151,9 @@ sub Raptor_simple
# We do two runs starting from $p, one towards each end of the route.