On-Line Policy Iteration for Infinite Horizon Dynamic Programming