Commit 4490efc1 authored by Steven Cordwell's avatar Steven Cordwell
Browse files

ValueIteration boundIter converted to leading underscore internal use name

parent 16bc2270
......@@ -1533,7 +1533,7 @@ class ValueIteration(MDP):
if self.discount < 1:
# compute a bound for the number of iterations and update the
# stored value of self.max_iter
self.boundIter(epsilon)
self._boundIter(epsilon)
# computation of threshold of variation for V for an epsilon-
# optimal policy
self.thresh = epsilon * (1 - self.discount) / self.discount
......@@ -1541,7 +1541,7 @@ class ValueIteration(MDP):
# threshold of variation for V for an epsilon-optimal policy
self.thresh = epsilon
def boundIter(self, epsilon):
def _boundIter(self, epsilon):
"""Compute a bound for the number of iterations.
for the value iteration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment