RepastHPC
2.3.1
|
Basic class for adding elements to grids. More...
#include <GridComponents.h>
Public Member Functions | |
template<typename GridType > | |
void | init (GridDimensions dimensions, GridType *grid) |
bool | add (boost::shared_ptr< T > agent) |
Basic class for adding elements to grids.
NOTE: This does NOT actually add the element to the grid; this simply returns 'true' and leaves the actual addition to the grid up to the user. Other classes may do other things (e.g. add to a random location) but this one does NOT.