mlpy.environments.gridworld.GridWorld.random_location

GridWorld.random_location()[source]

Find a random unoccupied location within the grid.

Returns:

Point2D :

The random x-/y-coordinates.