Module Expr Str Import alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Generalized behavior for random walking, one grid cell at a time.
 N/A random RandomWalker N/A object N/A N/A 
    Class implementing random walker methods in a generalized manner.

    Not indended to be used on its own, but to inherit its methods to multiple
    other agents.

     N/A grid None N/A x None N/A y None N/A moore True __init__ N/A N/A self grid pos moore N/A True N/A N/A 
        grid: The MultiGrid object in which the agent lives.
        x: The agent's current x coordinate
        y: The agent's current y coordinate
        moore: If True, may move in all 8 directions.
                Otherwise, only up, down, left, right.
         N/A N/A self grid grid N/A N/A self pos pos N/A N/A self moore moore N/A random_move N/A N/A self N/A N/A N/A 
        Step one cell in any allowable direction.
         N/A next_moves N/A N/A N/A self grid get_neighborhood N/A self pos N/A self moore True N/A next_move N/A N/A random choice next_moves N/A N/A N/A N/A self grid _remove_agent N/A self pos self N/A N/A N/A N/A self grid _place_agent next_move self N/A N/A self pos next_move N/A N/A