|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.agent.FIPAOSAgent | +--fipaos.skill.jess.JessAgent
Inner classes inherited from class fipaos.agent.FIPAOSAgent |
FIPAOSAgent.TopLevelHandlerTask |
Fields inherited from class fipaos.agent.FIPAOSAgent |
_database_profile, _registered_with, _state, _tm |
Constructor Summary | |
JessAgent(java.lang.String platform_profile,
java.lang.String name,
java.lang.String owner)
|
Method Summary | |
protected boolean |
addFacts(jess.Deffacts facts)
This method adds deffacts to the Rete. |
protected boolean |
addTemplate(jess.Deftemplate template)
This method adds a template to the current Rete. |
protected boolean |
assert(jess.Fact fact)
Asserts a fact to the Rete. |
protected boolean |
assertString(java.lang.String fact)
Asserts a fact as a string to the Rete. |
protected void |
clearKB()
Clears the knowlege base from all facts and rules. |
protected jess.Value |
engineExecuteCommand(java.lang.String content)
Execute a command in JESS. |
protected jess.Context |
getGlobalContext()
This gets the current global context of the current Rete. |
protected java.util.Enumeration |
listActivations()
List all the activations in Rete. |
protected void |
reset()
Resets the knowlege base. |
protected java.lang.String |
runEngine()
Runs the engine of knowlege base. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JessAgent(java.lang.String platform_profile, java.lang.String name, java.lang.String owner)
Method Detail |
protected void reset()
protected void clearKB()
protected java.lang.String runEngine()
protected java.util.Enumeration listActivations()
protected boolean addTemplate(jess.Deftemplate template)
template
- the template to be addedprotected boolean addFacts(jess.Deffacts facts)
facts
- the deffacts to be addedprotected boolean assert(jess.Fact fact)
fact
- fact to be assertedprotected boolean assertString(java.lang.String fact)
fact
- fact to be assertedprotected jess.Value engineExecuteCommand(java.lang.String content) throws jess.JessException
content
- command to be executedjess.JessException
- if something goes wrong with JESSprotected jess.Context getGlobalContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |