ウィキペディアとこのサイトの両方で、シミュレーテッド アニーリング アルゴリズムの同様のステップについて説明しています。
ウィキペディア:
if P(e, enew, temp(k/kmax)) > random() then // Should we move to it?
s ← snew; e ← enew // Yes, change state.
Yuval Baror は、8 人の女王のパズルについて次のように述べています。
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.
私の質問は次のとおりです。このランダムな動きは何を達成しますか?