entur / r5

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

Weight function parameters (Entur) #24

Closed gmellemstrand closed 5 years ago

gmellemstrand commented 5 years ago

Weight function for Entur. "Time" means time in seconds.

Walk: time 4 Wait: 0.9 (experimental) Wait at beginning: time 0.4 Wait: time Transit: time Board transit: 300 Board/alight depending on stop classification. This is in addition to the fixed board cost: 0 / 60 / 150 / 3000 (preferred, recommended, allowed, no interchange)

Various walk costs: stairs, elevator etc.

t2gran commented 5 years ago

A cost function is now implemented:

Cost = walkReluctance * walkTime + waitReluctance * waitTime + boardCost * numTransits + transitTime.

There is no support for waitAtBeginning. I do not hink we need it - maybe later.