I want to use simulated annealing for different situations. Every simulated annealing algorithm in net provides the algorithm with the temperature example. Like in wiki
s ← s0; e ← E(s) // Initial state, energy.
sbest ← s; ebest ← e // Initial "best" solution
k ← 0 // Energy evaluation count.
while k < kmax and e > emax // While time left & not good enough:
T ← temperature(k/kmax) // Temperature calculation.
snew ← neighbour(s) // Pick some neighbour.
enew ← E(snew) // Compute its energy.
if P(e, enew, T) > random() then // Should we move to it?
s ← snew; e ← enew // Yes, change state.
if enew < ebest then // Is this a new best?
sbest ← snew; ebest ← enew // Save 'new neighbour' to 'best found'.
k ← k + 1 // One more evaluation done
return sbest // Return the best solution found.
Now what is this 'T' represent in general? Suppose I will use simulated annealing to chess.I will use this algorithm to find next move for computer. I've current state(S) and it's value(e). I've next states(snew) and their values(enew). Then what will be 'T' for chess? Do I need it! Is there any general form for this algorithm? I mean without this temperature example where I can get the basic idea! I can't find any. Please help. Thanks in advance......