Grid2d

Name

Grid2d --  A 2d container class for agents.

Description

Grid2d is a generic container class to represent agent position on a 2d lattice. It gets most of its behaviour from Discrete2d, adding extra code to check that you don't overwrite things by accident. Grid2d is pretty primitive: only one object can be stored at a site, no boundary conditions are implied, etc.

Protocols adopted by Grid2d

Discrete2d CREATABLE

Methods

Phase: Using