Module Assign NameStore Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A __author__ Tom Schaul, tom@idsia.ch pybrain.rl.environments.twoplayergames.pente PenteGame pybrain.rl.environments.episodic EpisodicTask gomokutask GomokuTask pybrain.rl.environments.twoplayergames.gomokuplayers RandomGomokuPlayer inspect isclass PenteTask N/A GomokuTask N/A N/A  The task of winning the maximal number of Gomoku games against a fixed opponent.  __init__ N/A N/A self size opponent N/A None args N/A N/A N/A N/A EpisodicTask __init__ self N/A PenteGame N/A size size N/A N/A N/A self setArgs args N/A N/A opponent None N/A N/A opponent N/A RandomGomokuPlayer N/A self env N/A N/A N/A isclass opponent N/A N/A opponent N/A opponent N/A self env N/A N/A N/A self opponentStart N/A N/A N/A opponent color N/A PenteGame WHITE N/A N/A self opponent opponent N/A N/A self minmoves 9 N/A N/A self maxmoves N/A N/A N/A N/A self env size N/A 0 N/A N/A N/A self env size N/A 1 N/A N/A N/A self reset N/A N/A