fpmas-metamodel 1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MetaAgentView Struct Reference

#include <output.h>

Inheritance diagram for MetaAgentView:
Inheritance graph
[legend]

Public Member Functions

 MetaAgentView (const MetaAgentBase *agent)
 

Public Attributes

DistributedId id
 
std::deque< DistributedId > contacts
 
std::vector< DistributedId > perceptions
 

Detailed Description

MetaAgent output helper, that can directly be serialized to json.

Constructor & Destructor Documentation

◆ MetaAgentView()

MetaAgentView::MetaAgentView ( const MetaAgentBase agent)

MetaAgentView constructor.

Parameters
agentMetaAgent to output

Member Data Documentation

◆ id

DistributedId MetaAgentView::id

ID of the agent.

◆ contacts

std::deque<DistributedId> MetaAgentView::contacts

IDs of the agent's contacts.

◆ perceptions

std::vector<DistributedId> MetaAgentView::perceptions

IDs of the agent's perceptions.


The documentation for this struct was generated from the following file: