![]() |
fpmas 1.6
|
#include <spatial_model.h>
Public Member Functions | |
bool | contains (CellType *location, CellType *cell) const override |
std::size_t | radius (CellType *) const override |
virtual bool | contains (CellType *root, CellType *cell) const =0 |
virtual std::size_t | radius (CellType *origin) const =0 |
A range that only contains the current location of an agent, i.e. the origin of the range.
CellType | type of cells on which the agent moves |
|
inlineoverridevirtual |
Returns true iff cell
is location
.
Implements fpmas::api::model::Range< CellType >.
|
inlineoverridevirtual |
Returns 0.
Implements fpmas::api::model::Range< CellType >.