Package | Description |
---|---|
mas.agentsHempelsSofa |
This package contains everything to run all agents of the HempelsSofa team.
|
mas.agentsHempelsSofa.data |
This package contains general data structures.
|
mas.agentsHempelsSofa.data.graph |
This package contains data structures to define a graph.
|
mas.agentsHempelsSofa.data.zone |
This package contains data structures to define a zone.
|
Modifier and Type | Field and Description |
---|---|
AgentToken |
StrategyBasedAgent.myToken
The token which holds percepted states of this agent.
|
Modifier and Type | Method and Description |
---|---|
protected AgentToken |
StrategyBasedAgent.getMyToken() |
Modifier and Type | Method and Description |
---|---|
protected void |
StrategyBasedAgent.setMyToken(AgentToken myToken) |
Modifier and Type | Method and Description |
---|---|
AgentToken |
AgentToken.getTargetAgent() |
Modifier and Type | Method and Description |
---|---|
int |
AgentToken.compareTo(AgentToken t) |
void |
AgentToken.setTargetAgent(AgentToken targetAgent) |
Modifier and Type | Method and Description |
---|---|
AgentToken |
Graph.getToken(AgentToken token) |
AgentToken |
Vertex.removeToken(AgentToken token)
removes a token from the vertex
|
Modifier and Type | Method and Description |
---|---|
static LinkedList<AgentToken> |
Util.genereateRandomTokens(int numberOfTokens,
Graph g,
String team,
String state,
String role,
int energy,
int health,
int strength,
int visRange,
int lastInspection)
Generates tokens on graph g
|
LinkedList<AgentToken> |
Graph.getEnemyTokens(String ownTeam) |
LinkedList<AgentToken> |
Vertex.getTokens() |
LinkedList<AgentToken> |
Graph.getTokens() |
Modifier and Type | Method and Description |
---|---|
void |
Graph.add(AgentToken token)
adds an agent to the list of tokens and to the vertex, if not already
contained.
|
void |
Vertex.addToken(AgentToken token) |
boolean |
Vertex.contains(AgentToken token)
Determines, whether the agent token is on the vertex or not
|
boolean |
Graph.contains(AgentToken token) |
AgentToken |
Graph.getToken(AgentToken token) |
void |
Graph.moveToken(AgentToken token,
Vertex targetVertex)
moves a token to another
vertex . |
AgentToken |
Vertex.removeToken(AgentToken token)
removes a token from the vertex
|
void |
Graph.updateToken(AgentToken token)
updates an agent token. if the token is not already in the graph, it is
added.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Graph.containsAllTokens(Collection<AgentToken> tokens) |
Modifier and Type | Method and Description |
---|---|
LinkedList<AgentToken> |
Zone.getCriticalFrontierTokens() |
LinkedList<AgentToken> |
Zone.getTeamTokens() |
LinkedList<AgentToken> |
Zone.getTokens() |
Modifier and Type | Method and Description |
---|---|
boolean |
Zone.contains(AgentToken token)
Looks up an agent token in this zone.
|
int |
ZoneManager.getValue(AgentToken agent) |
Zone |
ZoneManager.getZone(AgentToken agent) |
boolean |
Zone.isOnCriticalFrontier(AgentToken token)
Checks whether an agent is on the critical frontier of this zone.
|
Copyright © 2013. All Rights Reserved.