mess
Interface Mess
- All Known Implementing Classes:
- MessAgent
- public interface Mess
- extends Managed
An Agent for interfacing with Jess,
the Java Expert System Shell. This effectively creates the basis
of the Metaglue Expert System Shell (MESS).
Methods inherited from interface agentland.util.Spy |
tell |
loadURL
public boolean loadURL(String url)
throws RemoteException
- Loads a set of definitions into the interpreter from a URL. If
the URL is not fully specified, an intelligent base URL will be
used to resolve ambiguity. If the loaded code includes the
`(run)' directive, this will also run the expert system to
completion.
loadScript
public boolean loadScript(String packageList)
throws RemoteException
loadFile
public boolean loadFile(String fname)
throws RemoteException
- Loads a set of definitions into the interpreter from a filename.
loadString
public boolean loadString(String s)
throws RemoteException
- Loads a set of definitions into the interpreter from a string.
reset
public void reset()
throws RemoteException
clear
public void clear()
throws RemoteException
run
public Hashtable run()
throws RemoteException
newFact
public Fact newFact(String s)
throws RemoteException
newFact
public Fact newFact(Fact f)
throws RemoteException
assert
public void assert(String s)
throws RemoteException
assert
public void assert(Fact f)
throws RemoteException
retract
public void retract(String s)
throws RemoteException
retract
public void retract(Fact f)
throws RemoteException
store
public void store(String name,
Object value)
throws RemoteException
fetch
public String fetch(String name)
throws RemoteException
fetchInt
public int fetchInt(String name)
throws RemoteException
facts
public Vector facts()
throws RemoteException
saveFacts
public void saveFacts()
throws RemoteException
loadFacts
public void loadFacts()
throws RemoteException
execCommand
public void execCommand(String cmd)
throws RemoteException
- Passes a JESS command to the engine.
addUserfunction
public void addUserfunction(Serializable uf)
throws RemoteException
assertAttribute
public void assertAttribute(String attrName)
throws RemoteException
assertSpeechTag
public void assertSpeechTag(String tagName,
String tagValue)
throws RemoteException