|
MATES 3.0-rc2 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Agent | |
org.mates.sim | |
org.mates.sim.event.agent |
Uses of Agent in org.mates.sim |
Methods in org.mates.sim that return Agent | |
Agent |
Host.getAgent(UniqueID id)
Returns an agent on this host. |
Agent |
Host.getAgentByName(java.lang.String name)
Returns an agent on this host. |
Methods in org.mates.sim with parameters of type Agent | |
void |
Host.addAgent(Agent agent)
Adds an agent to this host. |
void |
Host.updateAgentPriority(Agent agent)
An internal function for updating this host to the fact that one of its agents has updated its priority. |
void |
Host.removeAgent(Agent agent)
Removes an agent from this host. |
void |
Simulator.killAgent(Agent agent)
Kills an agent. |
void |
Simulator.agentCreated(Agent agent)
Sends an AgentCreatedEvent to all event listeners. |
boolean |
Simulator.migrate(Agent agent,
Host destination)
Initiates an agent migration. |
Uses of Agent in org.mates.sim.event.agent |
Fields in org.mates.sim.event.agent declared as Agent | |
protected Agent |
AgentEvent.agent
The agent associated with this event. |
Methods in org.mates.sim.event.agent that return Agent | |
Agent |
AgentEvent.getAgent()
Returns the agent associated with this event. |
Constructors in org.mates.sim.event.agent with parameters of type Agent | |
AgentDeathEvent(Agent agent)
|
|
AgentCreatedEvent(Agent agent)
|
|
AgentEvent(Agent agent)
Creates a new AgentEvent, associated with the provided agent. |
|
AgentMigrationEvent(Agent agent,
Host from,
Host to)
|
|
AgentArrivalEvent(Agent agent,
Host arrived_at,
Host from)
|
|
MATES 3.0-rc2 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |