Skip to content
New issue

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

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

Already on GitHub? # to your account

Simulated Annealing returns a Node instead of a state #45

Open
kaivalyar opened this issue Mar 20, 2017 · 1 comment
Open

Simulated Annealing returns a Node instead of a state #45

kaivalyar opened this issue Mar 20, 2017 · 1 comment

Comments

@kaivalyar
Copy link

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 a Node 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.

@kaivalyar
Copy link
Author

Thanks to @ctjoreilly for guiding me to opening this issue (#40) in accordance with the workflow. :-)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant