Commit 29fda10c authored by Steven Cordwell's avatar Steven Cordwell
Browse files

rearrange the imports

parent daa230e1
......@@ -34,13 +34,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
from math import ceil, log, sqrt
from random import randint, random
from time import time
from numpy import absolute, array, diag, matrix, mean, mod, multiply, ndarray
from numpy import ones, zeros
from numpy.random import rand
from math import ceil, log, sqrt
from random import randint, random
from scipy.sparse import csr_matrix as sparse
from time import time
mdperr = {
"mat_nonneg" :
......
......@@ -5,17 +5,18 @@ Created on Sun May 27 23:16:57 2012
@author: -
"""
from mdp import check, checkSquareStochastic, exampleForest, exampleRand, LP
from mdp import MDP, PolicyIteration, QLearning, RelativeValueIteration
from mdp import ValueIteration, ValueIterationGS
from random import seed as randseed
from numpy import absolute, array, eye, matrix, zeros
from numpy.random import rand
from scipy.sparse import eye as speye
from scipy.sparse import csr_matrix as sparse
#from scipy.stats.distributions import poisson
from mdp import check, checkSquareStochastic, exampleForest, exampleRand, LP
from mdp import MDP, PolicyIteration, QLearning, RelativeValueIteration
from mdp import ValueIteration, ValueIterationGS
STATES = 10
ACTIONS = 3
SMALLNUM = 10e-12
......
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