mlpy.environments.gridworld.GridWorld.get_cell

GridWorld.get_cell(loc)[source]

Return the cell based on its x/y-coordinates.

Parameters:

loc : Point2D

The x-/y-coordinates of the cell.

Returns:

Cell :

The cell at the specified location.