Skip to content

Do not cancel search for edge-based CH AStar too early - #2215

Merged
easbar merged 9 commits into
masterfrom
ch_edge_astar_fix
Dec 17, 2020
Merged

easbar merged 9 commits into
masterfrom
ch_edge_astar_fix

Conversation

@easbar

@easbar easbar commented Dec 17, 2020 •

Copy link
Copy Markdown
Member

Fixes #2061 and #1916.

The first problem was a real bug in the (currently disabled) CH/AStar implementation: We cancelled the entire search under a certain condition when we should only stall the current node. The other problem were some soft validations in the tests where the shortest path was not well defined because of alternative paths with equal distance (see #1916).

I now enabled AStar again for edge-based CH which improves the query speed from about 3.3ms to 2.4ms (about 25-30%).

@easbar easbar added this to the 3.0 milestone Dec 17, 2020
@easbar
easbar merged commit 4754d8e into master Dec 17, 2020
@easbar
easbar deleted the ch_edge_astar_fix branch December 17, 2020 10:49
@karussell

Copy link
Copy Markdown
Member

Nice! It's going to be a great 3.0 release :) - so many goodies!

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.

Wrong weight for edge-based CH when using AStar

2 participants