RepastHPC  2.3.1
Public Member Functions | List of all members
repast::SimpleAdder< T > Class Template Reference

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)
 

Detailed Description

template<typename T>
class repast::SimpleAdder< T >

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.


The documentation for this class was generated from the following file: