|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GraphSimulationAgentState | |
---|---|
massim.competition2011 | |
massim.competition2011.scenario |
Uses of GraphSimulationAgentState in massim.competition2011 |
---|
Fields in massim.competition2011 declared as GraphSimulationAgentState | |
---|---|
GraphSimulationAgentState |
GraphSimulationAgentPerception.self
The state of the agent to which this perception belongs. |
GraphSimulationAgentState |
GraphSimulationAgentInitialPerception.self
The state of the agent to which this perception belongs. |
Fields in massim.competition2011 with type parameters of type GraphSimulationAgentState | |
---|---|
protected java.util.Map<java.lang.String,GraphSimulationAgentState> |
GraphSimulationWorldState.agentNamesMap
A map from an agent's name to its current state. |
protected java.util.Vector<GraphSimulationAgentState> |
GraphSimulationWorldState.agents
A vector holding all agents that take part in the simulation. |
java.util.Set<GraphSimulationAgentState> |
GraphSimulationAgentPerception.agents
The set of agent that are currently visible to the agent |
java.util.Set<GraphSimulationAgentState> |
GraphSimulationAgentPerception.inspectedAgents
The set of agents that where inspected in the previous step, for which the agent owner of this perception should get extended information. |
java.util.Collection<GraphSimulationAgentState> |
GraphSimulationAgentInitialPerception.teamMembers
A collection of agent states, holding the states of all the team Members in the same team of the owner of this perception. |
Methods in massim.competition2011 that return GraphSimulationAgentState | |
---|---|
GraphSimulationAgentState |
GraphSimulationWorldState.getAgent(java.lang.String agentName)
Returns the state of an agent given its name. |
Methods in massim.competition2011 that return types with arguments of type GraphSimulationAgentState | |
---|---|
java.util.Vector<GraphSimulationAgentState> |
GraphSimulationWorldState.getAgents()
getter for the vector holding all agents that take part in the simulation. |
Methods in massim.competition2011 with parameters of type GraphSimulationAgentState | |
---|---|
void |
GraphSimulationWorldState.addAgent(GraphSimulationAgentState agent,
java.util.Vector<java.lang.Integer> agentPositions,
boolean newPosition)
Adds agent to the currently simulation, and situates it in a random node in the map. |
Method parameters in massim.competition2011 with type arguments of type GraphSimulationAgentState | |
---|---|
int |
GraphPolicy.drawSecondTable(java.util.Vector<GraphSimulationAgentState> agents,
long width,
int y)
Draws name, role, current energy, max energy,current health, max health, strength and vis range of agent in output "table" |
void |
GraphSimulationWorldState.setAgents(java.util.Vector<GraphSimulationAgentState> agents)
setter for the vector holding all agents that take part in the simulation. |
Uses of GraphSimulationAgentState in massim.competition2011.scenario |
---|
Fields in massim.competition2011.scenario with type parameters of type GraphSimulationAgentState | |
---|---|
java.util.Collection<GraphSimulationAgentState> |
DominatedArea.agents
|
java.util.Vector<GraphSimulationAgentState> |
GraphNode.agents
|
Methods in massim.competition2011.scenario with parameters of type GraphSimulationAgentState | |
---|---|
boolean |
TeamState.addInspectedAgent(GraphSimulationAgentState agent)
|
boolean |
DominatedArea.cointainsAgent(GraphSimulationAgentState ag)
|
long |
TeamState.getAreaValue(GraphSimulationAgentState agent)
Returns the value of the dominated area of which the agent given as parameter is part. |
protected static boolean |
ActionExecutor.validAttack(GraphSimulationAgentState agent,
GraphSimulationAgentState victim,
GraphSimulationWorldState world)
Returns true iff the victim is in the same node of the attacker. |
Constructor parameters in massim.competition2011.scenario with type arguments of type GraphSimulationAgentState | |
---|---|
DominatedArea(java.lang.String team,
java.util.Collection<GraphSimulationAgentState> agents,
java.util.Collection<GraphNode> nodes,
int size,
int score)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |