Cost functions should only have T timesteps. The initial state should not incur costs, as it can't be influenced. Therefore, cost at timesteps t should depend on action at t and next state at t+1.
Cost functions should only have T timesteps.
The initial state should not incur costs, as it can't be influenced.
Therefore, cost at timesteps t should depend on action at t and next state at t+1.