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

Simplify isGoalState in AnyFoodSearchProblem #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Simplify isGoalState in AnyFoodSearchProblem #1

wants to merge 1 commit into from

Conversation

yogykwan
Copy link

@yogykwan yogykwan commented Oct 25, 2017

All that you have done before is to check whether the input state is in food list. BTW, as bfs has been used in findPathToClosestDot, any food that we explore first will naturally be the closest dot, and manhattan has nothing to do with this indeed.

@yogykwan yogykwan changed the title SImplify isGoalState in AnyFoodSearchProblem Simplify isGoalState in AnyFoodSearchProblem Oct 25, 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.

1 participant