fpmas-metamodel 1.0
|
#include <output.h>
Public Member Functions | |
MetaAgentView (const MetaAgentBase *agent) | |
Public Attributes | |
DistributedId | id |
std::deque< DistributedId > | contacts |
std::vector< DistributedId > | perceptions |
MetaAgent output helper, that can directly be serialized to json.
MetaAgentView::MetaAgentView | ( | const MetaAgentBase * | agent | ) |
MetaAgentView constructor.
agent | MetaAgent to output |
DistributedId MetaAgentView::id |
ID of the agent.
std::deque<DistributedId> MetaAgentView::contacts |
IDs of the agent's contacts.
std::vector<DistributedId> MetaAgentView::perceptions |
IDs of the agent's perceptions.