Permalink
Browse files

Add the value iteration

  • Loading branch information...
1 parent 46c9f66 commit d343fe8415103a5f60b51b3d85b2881ab77b1b5a @cswetenham committed Feb 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 gridworld.m
View
@@ -313,4 +313,5 @@ function valueIteration(Fig, Discount, StateTransitions, MaxPolicyIterations)
MaxPolicyIterations = 1000;
policyIteration(4, StartPolicy, Discount, @stickyStateTransitions, MaxValueIterations, MaxPolicyIterations);
+valueIteration(5, Discount, @stickyStateTransitions, MaxPolicyIterations);
end

0 comments on commit d343fe8

Please sign in to comment.