Package | Description |
---|---|
massim.competition2013 | |
massim.competition2013.scenario |
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,GraphSimulationAgentState> |
GraphSimulationWorldState.agentNamesMap
A map from an agent's name to its current state.
|
protected Vector<GraphSimulationAgentState> |
GraphSimulationWorldState.agents
A vector holding all agents that take part in the simulation.
|
Set<GraphSimulationAgentState> |
GraphSimulationAgentPerception.agents
The set of agent that are currently visible to the agent
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
GraphSimulationAgentState |
GraphSimulationWorldState.getAgent(String agentName)
Returns the state of an agent given its name.
|
Modifier and Type | Method and Description |
---|---|
Vector<GraphSimulationAgentState> |
GraphSimulationWorldState.getAgents()
getter for the vector holding all agents that take part in the
simulation.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphSimulationWorldState.addAgent(GraphSimulationAgentState agent,
Vector<Integer> agentPositions,
boolean newPosition)
Adds
agent to the currently simulation, and situates it in a
random node in the map. |
void |
GraphPolicy.drawAgent(GraphSimulationAgentState ag,
Color agentColor,
int agx,
int agy) |
void |
GraphPolicy.drawTargetLine(int x,
int y,
int x2,
int y2,
GraphSimulationAgentState ag,
String lastAction,
String lastActionResult,
Color agentColor) |
Modifier and Type | Method and Description |
---|---|
int |
GraphPolicy.drawSecondTable(Vector<GraphSimulationAgentState> agents,
long width,
int yValue)
Draws name, role, current energy, max energy,current health, max health,
strength and vis range of agent in output "table"
|
void |
GraphSimulationWorldState.setAgents(Vector<GraphSimulationAgentState> agents)
setter for the vector holding all agents that take part in the
simulation.
|
Modifier and Type | Field and Description |
---|---|
Collection<GraphSimulationAgentState> |
DominatedArea.agents |
Vector<GraphSimulationAgentState> |
GraphNode.agents |
Modifier and Type | Method and Description |
---|---|
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 on a node within the vis.
|
Constructor and Description |
---|
DominatedArea(String team,
Collection<GraphSimulationAgentState> agents,
Collection<GraphNode> nodes,
int size,
int score) |
Copyright © 2013. All Rights Reserved.