Skip to content

changed return type of simulated annealing #40

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion md/Simulated-Annealing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ __function__ SIMULATED-ANNEALING(_problem_,_schedule_) __returns__ a solution st
 _current_ ← MAKE\-NODE(_problem_.INITIAL\-STATE)
 __for__ _t_ = 1 __to__ ∞ __do__
   _T_ ← _schedule(t)_
   __if__ _T_ = 0 __then return__ _current_
   __if__ _T_ = 0 __then return__ _current.state_
   _next_ ← a randomly selected successor of _current_
   _ΔE_ ← _next_.VALUE - _current_.VALUE
   __if__ _ΔE_ > 0 __then__ _current_ ← _next_
Expand Down