Last active
September 30, 2015 00:57
-
-
Save Iron-Ham/99f107dfdbe7e7a7bcfa to your computer and use it in GitHub Desktop.
HillClimbPseudo.txt
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
func HILL_CLIMBING(problem): | |
current <- MAKE_NODE(problem.INITIAL_STATE) | |
loop do: | |
neighbor <- highest valued successor of current | |
if neighbor.VALUE <= current.VALUE then return current.STATE | |
current <- neighbor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment