Обе Википедия и этот сайт описывают аналогичный шаг в алгоритме имитации отжига, который я выбрал здесь:
Википедия:
if P(e, enew, temp(k/kmax)) > random() then // Should we move to it?
s ← snew; e ← enew // Yes, change state.
Юваль Барор, относительно загадки Восемь Королев :
If moving the queen to the new column will reduce the number of attacked
queens on the board, the move is taken. Otherwise, the move is taken only
with a certain probability, which decreases over time.
Hence early on the algorithm will tend to take moves even if they
don't improve the situation. Later on, the algorithm will only make moves
which improve the situation on the board.
Мой вопрос: чего достигает этот случайный ход?