bikehopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.
https://www.graphhopper.com/open-source/
Apache License 2.0
3 stars 0 forks source link

Add PenaltyWeighting #60

Closed hcourt closed 2 years ago

hcourt commented 2 years ago

Instead of dividing the edge time (milliseconds) by a priority, multiply the time by a penalty. This way is easier to reason about.

Tested by routing and clicking around to make sure the routes still look sane.