public class Agent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Memory |
memory |
protected List<Any> |
tools |
| Modifier and Type | Method and Description |
|---|---|
Agent |
and(Mission mission) |
Agent |
andHe(Mission... missions) |
Agent |
andShe(Mission... missions) |
<KEY> Agent |
askThe(Agent anotherAgent,
KEY key) |
Agent |
clone() |
Memory |
getMemory() |
List<Any> |
getTools() |
<VALUE> void |
keepsInMind(String key,
VALUE value) |
Agent |
obtains(Object... tools) |
Agent |
performAll(Mission... missions) |
<RESULT> RESULT |
performs(Mission<RESULT> mission) |
<VALUE> VALUE |
recalls(String key,
Class<VALUE> clazz) |
protected void |
setMemory(Memory mem) |
protected Agent |
setTools(List<Any> tools) |
<TOOL> TOOL |
usingThe(Class<TOOL> toolClass) |
public Agent(Memory memory)
Copyright © 2016. All rights reserved.