|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.core.Agent
jade.gui.GuiAgent
vs.rationalagent.RationalAgent
public abstract class RationalAgent
A JADE-Agent with OWL reasoning capabilities.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jade.core.Agent |
|---|
jade.core.Agent.Interrupted |
| Field Summary | |
|---|---|
static java.lang.String |
CHARACTER_SERVICE
|
static int |
CLEAR_KB
|
static int |
CONSULT
|
static int |
EXIT
|
static int |
LOAD_KB
|
static java.lang.String |
PLOT_SERVICE
|
static java.lang.String |
PROLOG_FILE
|
static int |
QUERY_KB
|
static int |
SAVE_KB
|
static int |
TEST_KB
|
static java.lang.String |
TRACER_SERVICE
Descriptions of services for agents to provide |
static java.lang.String |
WORLD_SERVICE
|
| Fields inherited from class jade.core.Agent |
|---|
AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_WAITING, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN |
| Constructor Summary | |
|---|---|
RationalAgent()
|
|
| Method Summary | |
|---|---|
void |
addEventListener(StoryAgentEventListener listener)
|
jade.core.AID[] |
findServiceType(java.lang.String type)
Searches the JADE platform for services of the given type |
void |
fireEvent(StoryAgentEvent e)
|
java.lang.String |
genCID()
Generates a unique conversation ID See http://www.iro.umontreal.ca/~vaucher/Agents/Jade/primer6.html |
jade.core.Agent |
getAgent()
Get the agent itself |
jade.content.lang.Codec |
getCodec()
|
PrologKB |
getKnowledgeManager()
Retrieve the knowledge manager |
jade.content.onto.Ontology |
getOntology()
|
jade.core.AID |
getSniffer()
Deprecated. |
StoryDomain |
getStoryDomain()
|
jade.core.AID |
getTracer()
Deprecated. |
void |
removeEventListener(StoryAgentEventListener listener)
|
void |
setTracer(jade.core.AID tracer)
Deprecated. |
void |
setup()
Initializes the agent. |
void |
takeDown()
overrides jade.core.Agent.takeDown |
void |
trace(int verbosity,
int depth,
java.lang.String message)
Deprecated. |
void |
trace(int verbosity,
java.lang.String message)
Deprecated. |
void |
writeConsole(java.lang.String message)
|
void |
writeGui(java.lang.String msg)
|
| Methods inherited from class jade.gui.GuiAgent |
|---|
postGuiEvent |
| Methods inherited from class jade.core.Agent |
|---|
addBehaviour, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getArguments, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AObject, getProperty, getQueueSize, getState, here, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, removeBehaviour, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setQueueSize, waitUntilStarted, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface vs.rationalagent.IRationalAgent |
|---|
getTime |
| Methods inherited from interface vs.IAgent |
|---|
getLocalName |
| Field Detail |
|---|
public static java.lang.String CHARACTER_SERVICE
public static java.lang.String PLOT_SERVICE
public static java.lang.String WORLD_SERVICE
public static java.lang.String TRACER_SERVICE
public static final java.lang.String PROLOG_FILE
public static final int EXIT
public static final int LOAD_KB
public static final int SAVE_KB
public static final int CLEAR_KB
public static final int CONSULT
public static final int QUERY_KB
public static final int TEST_KB
| Constructor Detail |
|---|
public RationalAgent()
| Method Detail |
|---|
public void addEventListener(StoryAgentEventListener listener)
addEventListener in interface IAgentpublic jade.core.AID[] findServiceType(java.lang.String type)
IAgent
findServiceType in interface IAgentpublic void fireEvent(StoryAgentEvent e)
fireEvent in interface IAgentpublic java.lang.String genCID()
IAgent
genCID in interface IAgentpublic jade.core.Agent getAgent()
IAgent
getAgent in interface IAgentpublic jade.content.lang.Codec getCodec()
getCodec in interface IAgentpublic PrologKB getKnowledgeManager()
IRationalAgent
getKnowledgeManager in interface IRationalAgentpublic jade.content.onto.Ontology getOntology()
getOntology in interface IAgent@Deprecated public jade.core.AID getSniffer()
public StoryDomain getStoryDomain()
@Deprecated public jade.core.AID getTracer()
IAgent
getTracer in interface IAgentpublic void removeEventListener(StoryAgentEventListener listener)
removeEventListener in interface IAgent@Deprecated public void setTracer(jade.core.AID tracer)
IAgent
setTracer in interface IAgenttracer - AID of Tracer agentpublic void setup()
setup in class jade.core.Agentpublic void takeDown()
takeDown in class jade.core.Agent
@Deprecated
public void trace(int verbosity,
int depth,
java.lang.String message)
IAgent
trace in interface IAgentverbosity - the importance of the messagemessage - the message itself
@Deprecated
public void trace(int verbosity,
java.lang.String message)
trace in interface IAgentpublic void writeConsole(java.lang.String message)
public void writeGui(java.lang.String msg)
writeGui in interface IRationalAgent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||