|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmassim.competition2011.GraphSimulationAgentInitialPerception
public class GraphSimulationAgentInitialPerception
This class holds the information that is sent to the agent as initial perception when simulation begins.
Field Summary | |
---|---|
int |
edges
The number of edges that the map graph has. |
java.lang.String |
role
The agent's role |
GraphSimulationAgentState |
self
The state of the agent to which this perception belongs. |
int |
steps
The number of steps that this simulation will run. |
java.util.Collection<GraphSimulationAgentState> |
teamMembers
A collection of agent states, holding the states of all the team Members in the same team of the owner of this perception. |
int |
vertices
The number of vertices that the map graph has. |
Constructor Summary | |
---|---|
GraphSimulationAgentInitialPerception()
|
Method Summary | |
---|---|
void |
encodeToXML(org.w3c.dom.Element target)
Encodes the contents of this perception object in the right XML format, in concordance to the protocol description, |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public GraphSimulationAgentState self
public int steps
public int vertices
public int edges
public java.lang.String role
public java.util.Collection<GraphSimulationAgentState> teamMembers
Constructor Detail |
---|
public GraphSimulationAgentInitialPerception()
Method Detail |
---|
public void encodeToXML(org.w3c.dom.Element target)
encodeToXML
in interface XMLCodec.XMLEncodable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |