![]() |
fpmas 1.6
|
#include <model.h>


Public Member Functions | |
| SynchronizeGraphTask (api::model::AgentGraph &agent_graph) | |
| void | run () override |
Public Member Functions inherited from fpmas::scheduler::TaskBase< api::scheduler::Task > | |
| void | setJobPos (JID job_id, std::list< fpmas::api::scheduler::Task * >::iterator pos) override |
| std::list< api::scheduler::Task * >::iterator | getJobPos (JID job_id) const override |
Public Member Functions inherited from fpmas::api::scheduler::Task | |
| virtual void | run ()=0 |
| virtual void | setJobPos (JID job_id, std::list< Task * >::iterator pos)=0 |
| virtual std::list< Task * >::iterator | getJobPos (JID job_id) const =0 |
Graph synchronization task.
This task is set as the end task of each AgentGroup's job.
Concretely, this means that the simulation Graph is synchronized at the end of each AgentGroup execution.
|
inline |
SynchronizeGraphTask constructor.
| agent_graph | Agent graph to synchronize |
|
inlineoverridevirtual |
Calls api::model::AgentGraph::synchronize().
Implements fpmas::api::scheduler::Task.