![]() |
fpmas 1.6
|
#include <model.h>
Public Member Functions | |
EraseAgentNodeCallback (api::model::Model &model) | |
void | call (api::model::AgentNode *node) override |
![]() | |
virtual void | call (Args... args)=0 |
Callback triggered when an AgentNode is erased from the simulation graph (i.e. when an AgentNode is created, or when its imported from an other process).
|
inline |
EraseAgentNodeCallback constructor.
model | current model |
|
override |
Removes the node's Agent (i.e. node->data()) from its AgentGroup.
If the node was still LOCAL, the agent's task is also unscheduled.
node | AgentNode to erase from the graph |