Having an objective function E(s) in Simulated Annealing (SA) defines the transition probability of moving from one state s to another s'. Ideally, the objective function minimum corresponds to the optimal solution.
In Reinforcement learning (RL), we have a value function v(s) that gives a value of how good it is to be in the current state s.
There is also in function which gives a value to a combination of the current state and an action, but I don't want to compare this to SA.
So my question is now, what is the difference between E(s) and v(s)?