-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[issue1140] Reinsert open nodes into open list upon finding cheaper p…
…aths. Functionally, this change only affects EagerSearch. Until now, upon finding a cheaper path to an open node, it was only reinserted into the open list if the reopen_closed flag was set to true. This caused the unintuitive behavior that an EagerSearch configuration equivalent to the astar plugin, except with reopen_closed set to false, combined with a consistent heuristic did not guarantee optimal solutions. We remedy this by reinserting independent of the reopen_closed flag when discovering a cheaper path to a node. At the same time we restructure functions in search_space.* which causes renaming in other search algorithms, but their behavior does not change.
- Loading branch information
1 parent
f75018f
commit e408c7d
Showing
5 changed files
with
93 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters