Value function (source code)

= Value function
{wiki}

A value function assigns each state and time the best objective attainable from that state over the remaining decisions.