Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a simple test to verify that the A* implementation is optimal. #81

Closed
wants to merge 1 commit into from
Closed

Conversation

austinhaas
Copy link
Contributor

This test shows that the current A* implementation is incorrect. It is not optimal.

The problem is that it applies the heuristic function to the current node and each successor node, when it should be applying the heuristic to each successor and the target node.

@aysylu
Copy link
Owner

aysylu commented Feb 16, 2017

This test has been merged as part of the fix in #84.

@aysylu aysylu closed this Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants