campy.datastructures.sparsegrid module

class campy.datastructures.sparsegrid.SparseGrid(rows=0, cols=0, value=None)[source]

Bases: collections.abc.MutableMapping

check_indexes(row, col)[source]
fill(value)[source]
classmethod from_2d_iterable()[source]
from_stream()[source]
height
in_bounds(row, col)[source]
randomElement()[source]
resize()[source]
serialize()[source]
to_string_2d()[source]
width