Module Assign NameStore Str ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr ListLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad BinOpMult ListLoad Num Num For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad Num Num Assign AttributeStore NameLoad attr AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num BinOpAdd AttributeLoad NameLoad attr Num orelse Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num BinOpAdd AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num If CompareEq AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num body If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Num Num orelse Assign SubscriptStore NameLoad Index Num Num orelse If CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num BinOpAdd AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Num Num orelse Assign SubscriptStore NameLoad Index Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num BinOpAdd AttributeLoad NameLoad attr Num body If CompareEq Call NameLoad BinOpSub SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A __author__ Tom Schaul, tom@idsia.ch scipy array zeros random choice maze MazeTask TMaze N/A MazeTask N/A N/A 
    #############
    ###########*#
    #.          #
    ########### #
    #############

    1-in-n encoding for observations.
     N/A discount 0.98 N/A observations 4 N/A finalReward 4 N/A bangPenalty -0.1 N/A length 10 __init__ N/A N/A self N/A args N/A N/A N/A self initPos N/A N/A 2 1 N/A N/A N/A self setArgs args N/A columns N/A N/A N/A 1 5 N/A dummy N/A range N/A self length N/A N/A N/A N/A columns append N/A 1 1 0 1 1 N/A N/A N/A columns append N/A 1 0 0 0 1 N/A N/A N/A columns append N/A N/A 1 5 N/A N/A self topology N/A N/A array columns T N/A N/A N/A MazeTask __init__ self args N/A reset N/A N/A self N/A N/A N/A N/A N/A MazeTask reset self N/A goUp N/A choice N/A True False N/A N/A self specialObs goUp N/A goUp N/A N/A N/A N/A self env goal N/A 3 N/A N/A self length 1 N/A N/A N/A N/A self env goal N/A 1 N/A N/A self length 1 N/A getObservation N/A N/A self N/A N/A N/A res N/A zeros 4 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 self specialObs N/A N/A N/A res N/A 0 1 N/A N/A N/A res N/A 1 1 N/A N/A N/A N/A N/A N/A self env perseus N/A 1 N/A N/A self length 1 N/A N/A N/A res N/A 2 1 N/A N/A N/A res N/A 3 1 N/A res N/A getReward N/A N/A self N/A N/A N/A N/A N/A N/A N/A self env perseus N/A 1 N/A N/A self length 1 N/A N/A N/A N/A abs N/A N/A N/A N/A self env perseus N/A 0 N/A N/A N/A self env goal N/A 0 2 N/A N/A N/A N/A self env perseus N/A N/A self env goal N/A N/A self bangPenalty N/A N/A N/A MazeTask getReward self N/A N/A