public class SimpleRepairerAgent extends Agent
Constructor and Description |
---|
SimpleRepairerAgent(String name,
String team) |
Modifier and Type | Method and Description |
---|---|
void |
handlePercept(eis.iilang.Percept p)
This method is called if the environment-interface sends a
percept as a notification.
|
eis.iilang.Action |
step()
Executes one step of the agent.
|
addBelief, addGoal, broadcastBelief, clearBeliefs, clearGoals, containsBelief, containsGoal, createAgentFromClass, equals, getAllBeliefs, getAllPercepts, getBeliefBase, getEnvironmentInterface, getGoalBase, getMessages, getName, getTeam, hashCode, println, removeBeliefs, removeGoals, sendMessage, setEnvironmentInterface
public void handlePercept(eis.iilang.Percept p)
Agent
getAllPercepts
method which
yields all percepts.handlePercept
in class Agent
p
- the percept to be handledCopyright © 2013. All Rights Reserved.