![]() |
fpmas 1.6
|
#include <spatial_model.h>
Public Member Functions | |
virtual api::scheduler::JobList | jobs () const =0 |
|
pure virtual |
Returns an executable JobList that can be used to update the location, mobility field and perceptions of all agents
.
The returned job list can be scheduled right after the execution of agents
' behaviors that include SpatialAgent::moveTo() operations, in order to commit them. Notice that a graph synchronization is required between those operations and the execution of jobs returned by this method.
All those operations can be handled automatically using dedicated AgentGroups: see SpatialModel::buildMoveGroup().
model | current SpatialModel |
agents | LOCAL agents to move |
cells | LOCAL cells of the current Cell network, within which agents are moving |
Implemented in fpmas::model::DistributedMoveAlgorithm< CellType >.