Module Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad BinOpMult Num NameLoad BinOpMult Num NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Yield Assign NameStore BinOpSub Num Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpMult Num Call AttributeLoad BinOpPow NameLoad Num attr Assign NameStore BinOpSub Num Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Yield BinOpSub BinOpSub BinOpMult NameLoad Num BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpOr CompareGt Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr CompareGt Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A numpy np rllab.envs.box2d.parser find_body rllab.core.serializable Serializable rllab.envs.box2d.box2d_env Box2DEnv rllab.misc autoargs rllab.misc.overrides overrides CartpoleEnv N/A Box2DEnv Serializable N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self max_pole_angle 0.2 N/A N/A self max_cart_pos 2.4 N/A N/A self max_cart_speed 4.0 N/A N/A self max_pole_speed 4.0 N/A N/A N/A N/A super CartpoleEnv self __init__ N/A N/A self model_path cartpole.xml.mako args kwargs N/A N/A self cart N/A find_body N/A self world cart N/A N/A self pole N/A find_body N/A self world pole N/A N/A N/A Serializable __init__ self args kwargs N/A N/A N/A autoargs inherit N/A Box2DEnv __init__ reset N/A N/A self N/A N/A N/A N/A N/A self _set_state N/A self initial_state N/A N/A N/A self _invalidate_state_caches N/A bounds N/A N/A np array N/A N/A self max_cart_pos N/A self max_cart_speed N/A self max_pole_angle N/A self max_pole_speed N/A N/A low high N/A N/A -0.05 bounds N/A 0.05 bounds N/A N/A xpos xvel apos avel N/A N/A N/A np random uniform low high N/A N/A N/A self cart position N/A xpos N/A N/A N/A self cart position N/A 1 N/A N/A N/A self cart linearVelocity N/A xvel N/A N/A N/A self cart linearVelocity N/A 1 N/A N/A N/A self pole angle apos N/A N/A N/A self pole angularVelocity avel N/A N/A N/A self get_current_obs N/A overrides compute_reward N/A N/A self action N/A N/A N/A N/A N/A notdone N/A 1 N/A int N/A N/A self is_current_done N/A ucost N/A 1e-05 N/A N/A N/A action 2 sum N/A xcost N/A 1 N/A N/A np cos N/A N/A self pole angle N/A N/A N/A N/A N/A notdone 10 N/A notdone xcost N/A notdone ucost N/A overrides is_current_done N/A N/A self N/A N/A N/A N/A N/A N/A abs N/A N/A N/A self cart position N/A 0 N/A self max_cart_pos N/A N/A abs N/A N/A self pole angle N/A self max_pole_angle N/A overrides N/A