Skip to content

Use AStar by default for edge-based CH - #2054

Merged
easbar merged 3 commits into
masterfrom
default_ch_algo
Jun 5, 2020
Merged

easbar merged 3 commits into
masterfrom
default_ch_algo

Conversation

@easbar

@easbar easbar commented Jun 5, 2020 •

Copy link
Copy Markdown
Member

For some reason I did not realize earlier that edge-based CH is using Dijkstra by default, even though AStar is significantly faster. The default algorithm is now chosen by the different algo factories and the default algorithm for edge-based CH is now AStar. For the Bavaria map this improves the average routing time from 4.9ms to 3.3ms (-33%). For comparison: With node-based CH we get around 1.4ms on the same hardware. Edge-based CH is x2.4 slower now.

@easbar easbar added this to the 2.0 milestone Jun 5, 2020
@easbar
easbar merged commit ec5824f into master Jun 5, 2020
@easbar
easbar deleted the default_ch_algo branch June 5, 2020 10:15
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.

1 participant