public class DummyAgent extends Agent
Constructor and Description |
---|
DummyAgent(java.lang.String name)
Creates a new dummy agent with the given name.
|
Modifier and Type | Method and Description |
---|---|
Executable |
next(java.util.Collection<? extends Perceivable> percepts)
Determines the next action of this agent wrt.
|
java.lang.String |
toString() |
public DummyAgent(java.lang.String name)
name
- some name.public Executable next(java.util.Collection<? extends Perceivable> percepts)
Agent