fpmas-metamodel 1.0
|
#include <agent.h>
Public Member Functions | |
virtual CellType * | selectCell (fpmas::model::Neighbors< CellType > &mobility_field) const =0 |
Interface used to select the cell to which an agent will move.
|
pure virtual |
Selects a cell to move from the specified mobility field.
mobility_field | Mobility field of an agent |
Implemented in RandomMovePolicy< CellType >, and MaxMovePolicy< CellType >.