|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.basic.ObjectWithDynamicAttributes aima.basic.Agent
public abstract class Agent
Field Summary | |
---|---|
protected java.util.Hashtable |
enviromentSpecificAttributes
|
protected boolean |
isAlive
|
static java.lang.String |
NO_OP
|
protected AgentProgram |
program
|
Constructor Summary | |
---|---|
protected |
Agent()
|
|
Agent(AgentProgram aProgram)
|
Method Summary | |
---|---|
void |
die()
|
java.lang.String |
execute(Percept p)
|
boolean |
isAlive()
|
void |
live()
|
Methods inherited from class aima.basic.ObjectWithDynamicAttributes |
---|
getAttribute, getSortedAttributeKeys, removeAttribute, setAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NO_OP
protected AgentProgram program
protected boolean isAlive
protected java.util.Hashtable enviromentSpecificAttributes
Constructor Detail |
---|
protected Agent()
public Agent(AgentProgram aProgram)
Method Detail |
---|
public java.lang.String execute(Percept p)
public void live()
public void die()
public boolean isAlive()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |