Skip to content

ShortFastest minWeight - #1309

Merged
karussell merged 2 commits into
graphhopper:masterfrom
boldtrn:short_fastest_min_weight
Mar 16, 2018
Merged

karussell merged 2 commits into
graphhopper:masterfrom
boldtrn:short_fastest_min_weight

Conversation

@boldtrn

@boldtrn boldtrn commented Mar 16, 2018

Copy link
Copy Markdown
Member

As discussed here the getMinWeight method of the ShortFastestWeighting was not correct for TimeFactors < 1. This PR uses the same caluclations as getWeight to estimate the minWeight, which should provide a better heuristic for A*.

@karussell karussell added this to the 0.11 milestone Mar 16, 2018
@karussell
karussell merged commit 13b67a7 into graphhopper:master Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants