|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AgentToken | |
---|---|
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. |
Uses of AgentToken in mas.agentsHempelsSofa |
---|
Fields in mas.agentsHempelsSofa declared as AgentToken | |
---|---|
AgentToken |
StrategyBasedAgent.myToken
The token which holds percepted states of this agent. |
Methods in mas.agentsHempelsSofa that return AgentToken | |
---|---|
protected AgentToken |
StrategyBasedAgent.getMyToken()
|
Methods in mas.agentsHempelsSofa with parameters of type AgentToken | |
---|---|
protected void |
StrategyBasedAgent.setMyToken(AgentToken myToken)
|
Uses of AgentToken in mas.agentsHempelsSofa.data |
---|
Methods in mas.agentsHempelsSofa.data that return AgentToken | |
---|---|
AgentToken |
AgentToken.getTargetAgent()
|
Methods in mas.agentsHempelsSofa.data with parameters of type AgentToken | |
---|---|
int |
AgentToken.compareTo(AgentToken t)
|
void |
AgentToken.setTargetAgent(AgentToken targetAgent)
|
Uses of AgentToken in mas.agentsHempelsSofa.data.graph |
---|
Methods in mas.agentsHempelsSofa.data.graph that return AgentToken | |
---|---|
AgentToken |
Graph.getToken(AgentToken token)
|
AgentToken |
Vertex.removeToken(AgentToken token)
removes a token from the vertex |
Methods in mas.agentsHempelsSofa.data.graph that return types with arguments of type AgentToken | |
---|---|
static java.util.LinkedList<AgentToken> |
Util.genereateRandomTokens(int numberOfTokens,
Graph g,
java.lang.String team,
java.lang.String state,
java.lang.String role,
int energy,
int health,
int strength,
int visRange,
int lastInspection)
Generates tokens on graph g |
java.util.LinkedList<AgentToken> |
Graph.getEnemyTokens(java.lang.String ownTeam)
|
java.util.LinkedList<AgentToken> |
Vertex.getTokens()
|
java.util.LinkedList<AgentToken> |
Graph.getTokens()
|
Methods in mas.agentsHempelsSofa.data.graph with parameters of type AgentToken | |
---|---|
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. |
Method parameters in mas.agentsHempelsSofa.data.graph with type arguments of type AgentToken | |
---|---|
boolean |
Graph.containsAllTokens(java.util.Collection<AgentToken> tokens)
|
Uses of AgentToken in mas.agentsHempelsSofa.data.zone |
---|
Methods in mas.agentsHempelsSofa.data.zone that return types with arguments of type AgentToken | |
---|---|
java.util.LinkedList<AgentToken> |
Zone.getCriticalFrontierTokens()
|
java.util.LinkedList<AgentToken> |
Zone.getTeamTokens()
|
java.util.LinkedList<AgentToken> |
Zone.getTokens()
|
Methods in mas.agentsHempelsSofa.data.zone with parameters of type AgentToken | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |