This is achieved by obtaining the optimal state value function, V * (s), because if we obtain this, the greedy policy is optimal, which determines the action so as to maximize the state value after the transition occurred.
our aim is equivalent to finding V * (s).