Open t2gran opened 5 years ago
This is implemented in the 1ecf8add and 5250f26b commits. The implementation is combined with a heuristic function calculating minimum travelTime and transfers to destination and using this to add to the current arrival before checking against the destination pareto set.
As soon as the destination is reached we can start to check agains the destination set of arrivals. If an arrival at a stop does not dominates at least one destination arrival, then we know that to stop arrival can be dropped.
This will have a very good effect on short trips since the majority number of stops is expected to be further away than the destination.
For long trips there might give a negative effect, but it is expected to be minimal since testing agains an empty set is very fast. For trips with few transfers, but extreme cost or duration, it will be costly - dependent of the implementation.
Implementation Notes
There is several ways to implement this:
The 3 alternatives should be tested agains the Norwegian and the Dutch graph to find the best method.