Step-by-Step N-Queens Execution with Acceptance Probability
Watch how temperature controls the acceptance of worse moves!Place 5 queens with no conflicts (E = 0)
Accept bad moves with decreasing probability
Initial random placement of 5 queens on the board. Current conflicts: 8
Move analysis will appear here when you click "Next Step"
Always accepted regardless of temperature.
P = e(+ΔE)/T > 1, so we accept with probability 1.
Accepted with probability P = eΔE/T
Higher temperature = more likely to accept bad moves.