Module Assign NameStore Str ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad TupleLoad Num Num Assign NameStore Call NameLoad ListLoad BinOpMult ListLoad Num Num ListLoad Num Num Num Num Num Num Num BinOpMult ListLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Num If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Num Num orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Assign SubscriptStore NameLoad Index Num Num orelse If CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num body If CompareGt Call NameLoad Num body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Num orelse Assign SubscriptStore NameLoad Index BinOpMod BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num Num Num orelse Assign SubscriptStore NameLoad Index BinOpMod BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad If CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num body If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If BoolOpOr BoolOpAnd CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num BoolOpAnd CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If CompareLt NameLoad Num body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpOr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A __author__ Tom Schaul, tom@idsia.ch scipy array zeros random random maze MazeTask pybrain.rl.environments.mazes PolarMaze ShuttleDocking N/A MazeTask N/A N/A 
    #######
    #.   *#
    #######

    The spaceship needs to dock backwards into the goal station.
     N/A actions 3 N/A observations 5 N/A discount 0.95 N/A mazeclass PolarMaze N/A finalReward 10 N/A bangPenalty -3 N/A initPos N/A N/A 1 1 N/A topology N/A array N/A N/A N/A 1 7 N/A 1 0 0 0 0 0 1 N/A N/A 1 7 N/A goal N/A 1 5 N/A Backup 0 N/A Forward 1 N/A TurnAround 2 reset N/A N/A self N/A N/A N/A N/A N/A MazeTask reset self N/A N/A N/A self env perseusDir 1 N/A getObservation N/A N/A self N/A N/A N/A  inold, seeold, black, seenew, innew  N/A res N/A zeros 5 N/A N/A N/A N/A self env perseus N/A N/A self env goal N/A N/A N/A res N/A 4 1 N/A N/A N/A N/A N/A self env perseus N/A N/A N/A self env initPos N/A 0 N/A N/A N/A res N/A 0 1 N/A N/A N/A N/A N/A N/A self env perseus N/A 1 3 N/A N/A N/A N/A random 0.7 N/A N/A N/A res N/A N/A N/A self env perseusDir 1 N/A N/A N/A res N/A N/A N/A N/A N/A self env perseusDir 2 4 1 N/A N/A N/A res N/A N/A N/A N/A N/A self env perseusDir 2 4 1 N/A res N/A performAction N/A N/A self action N/A N/A N/A N/A self steps 1 N/A N/A action N/A self TurnAround N/A N/A N/A N/A self _turn N/A N/A N/A action N/A self Forward N/A N/A N/A N/A self _forward N/A N/A r N/A random N/A N/A N/A N/A N/A self env perseus N/A 1 3 N/A N/A N/A r 0.1 N/A N/A N/A N/A self _turn N/A N/A N/A r 0.9 N/A N/A N/A N/A self _backup N/A N/A N/A N/A N/A N/A N/A N/A self env perseus N/A 1 2 N/A N/A N/A self env perseusDir 3 N/A N/A N/A N/A N/A self env perseus N/A 1 4 N/A N/A N/A self env perseusDir 1 N/A N/A N/A r 0.3 N/A N/A N/A N/A self _turn N/A N/A N/A r 0.6 N/A N/A N/A N/A self _backup N/A N/A N/A r 0.7 N/A N/A N/A N/A self _backup N/A _backup N/A N/A self N/A N/A N/A N/A N/A N/A self env performAction N/A PolarMaze TurnAround N/A N/A N/A N/A self env performAction N/A PolarMaze Forward N/A N/A N/A N/A self env performAction N/A PolarMaze TurnAround N/A _turn N/A N/A self N/A N/A N/A N/A N/A N/A self env performAction N/A PolarMaze TurnAround N/A _forward N/A N/A self N/A N/A N/A old N/A N/A self env perseus N/A N/A N/A N/A self env performAction N/A PolarMaze TurnAround N/A N/A N/A N/A N/A self env perseus N/A N/A self env goal N/A N/A N/A self env perseus N/A N/A N/A self env initPos N/A 0 N/A N/A N/A N/A self env perseus old N/A N/A N/A self env bang True N/A N/A