![]() |
fpmas 1.6
|
#include <spatial_model.h>
Public Member Functions | |
virtual DistributedMoveAlgorithm< CellType > & | distributedMoveAlgorithm ()=0 |
![]() | |
virtual GroupId | groupId () const =0 |
virtual const Behavior & | behavior ()=0 |
virtual void | add (Agent *agent)=0 |
virtual void | remove (Agent *agent)=0 |
virtual void | clear ()=0 |
virtual void | insert (AgentPtr *agent)=0 |
virtual void | erase (AgentPtr *agent)=0 |
virtual std::vector< Agent * > | agents () const =0 |
virtual std::vector< Agent * > | localAgents () const =0 |
virtual std::vector< Agent * > | distantAgents () const =0 |
virtual api::scheduler::Job & | job ()=0 |
virtual const api::scheduler::Job & | job () const =0 |
virtual api::scheduler::Job & | agentExecutionJob ()=0 |
virtual const api::scheduler::Job & | agentExecutionJob () const =0 |
virtual api::scheduler::JobList | jobs () const =0 |
virtual void | addEventHandler (Event event, api::utils::Callback< Agent * > *callback)=0 |
virtual void | removeEventHandler (Event event, api::utils::Callback< Agent * > *callback)=0 |
Additional Inherited Members | |
![]() | |
enum | Event { INSERT , ERASE , ADD , REMOVE } |
AgentGroup designed to implicitly include a DistributedMoveAlgorithm in the JobList returned by jobs().
|
pure virtual |
Returns the internal distributedMoveAlgorithm() associated to this group.
The execution of distributedMoveAlgorithm().jobs() apply the DistributedMoveAlgorithm to all agents currently contained in the group.
The JobList returned by jobs() corresponds to
Implemented in fpmas::model::MoveAgentGroup< CellType >.