-
Notifications
You must be signed in to change notification settings - Fork 411
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
Simulated Annealing returns a Node instead of a state #45
Comments
Thanks to @ctjoreilly for guiding me to opening this issue (#40) in accordance with the workflow. :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figure 4.5 - SIMULATED-ANNEALING describes an optimization algorithm that is supposed to return a
state,
as per the first line of the function declaration. The rest of the implementation, however, goes on to return aNode
instead of its state.I think the pseudocode should change to match the function declaration (and the standard format of returning states, like other optimisation functions in the book, such as HILL-CLIMBING). Alternatively, however, the function declaration could be amended to return a Node, or/and HILL-CLIMBING could be changed.
The text was updated successfully, but these errors were encountered: