# Problem 1(c): number of iterations for each delta
# same 4x4 gridworld as 1(a), gamma stays at the demo default 0.95
from common import make_mdp, run_vi

print('delta     iterations')
for delta in [1, 0.1, 0.01, 0.001, 0.0001]:
    n_iter, v_start, v_hist = run_vi(make_mdp(), delta=delta)
    print(delta, ' ', n_iter)
