entur / r5

Rapid Realistic Routing on Real-world and Reimagined networks
MIT License
2 stars 2 forks source link

Trip search for scheduled trips only #18

Open t2gran opened 5 years ago

t2gran commented 5 years ago

Trip schedules are filtered in OTP so only trips in service are passed to Raptor, hence there is not necessary to check if a trip is in service. The current implementation do so. The TripSearch can be simplified and possibly be a bit faster.

The TripSearch is implemented as a strategy, so it is easy to provide another implementation allowing the option to choose.