Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
K
L
M
N
P
R
S
T
U
V
W
A
aboutToFire(Activation)
- Method in class jess.
Rete
Accelerator
- interface jess.
Accelerator
.
An accelerator generates Java versions of rule LHSs, compiles them and returns new Test objects to execute them.
ActionListener
- class jess.awt.
ActionListener
.
ActionListener An AWT Event Adapter for Jess.
ActionListener(String, Rete)
- Constructor for class jess.awt.
ActionListener
Connect the Jess function specified by name to this event handler object.
actionPerformed(ActionEvent)
- Method in class jess.awt.
ActionListener
An event-handler method.
ACTIVATE
- Static variable in class jess.
Rete
Activation
- class jess.
Activation
.
An activation of a rule.
ACTIVATION
- Static variable in class jess.
JessEvent
A defrule has been activated or deactivated
add(HashMap)
- Method in class jess.
ReflectFunctions
add(HashMap)
- Method in class jess.
DumpFunctions
add(HashMap)
- Method in class jess.
LispFunctions
add(HashMap)
- Method in class jess.
MathFunctions
add(HashMap)
- Method in class jess.
StringFunctions
add(HashMap)
- Method in class jess.
PredFunctions
add(HashMap)
- Method in class jess.
MultiFunctions
add(HashMap)
- Method in class jess.
MiscFunctions
add(HashMap)
- Method in interface jess.
IntrinsicPackage
Add this package of functions to the given Hashtable by name.
add(Rete)
- Method in class jess.
BagFunctions
Actually add the package to the Rete object.
add(Rete)
- Method in class jess.
ViewFunctions
Called by a Rete object when you add this to an engine.
add(Rete)
- Method in interface jess.
Userpackage
Add this package of functions to the given engine by calling addUserfunction some number of times.
add(Value)
- Method in class jess.
ValueVector
Add a new element to the end of this ValueVector.
addAction(Funcall)
- Method in class jess.
Deffunction
Add an action to this deffunction.
addAll(ValueVector)
- Method in class jess.
ValueVector
Append all
Value
s.
addArgument(String, int)
- Method in class jess.
Deffunction
Add a formal argument to this deffunction.
addContext(String)
- Method in class jess.
JessException
Adds information about where an error happened to a JessException.
addDeffacts(Deffacts)
- Method in class jess.
Rete
Creates a new deffacts in this object
addDefglobal(Defglobal)
- Method in class jess.
Rete
Creates a new Defglobal in this object.
addDefrule(HasLHS)
- Method in class jess.
Rete
Creates a new defrule in this object
addDeftemplate(Deftemplate)
- Method in class jess.
Rete
Creates a new deftemplate in this object.
addFact(Fact)
- Method in class jess.
Deffacts
Add a fact to this deffacts
addInputRouter(String, Reader, boolean)
- Method in class jess.
Rete
addJessListener(JessListener)
- Method in class jess.
Node
addJessListener(JessListener)
- Method in class jess.
Rete
addMultiSlot(String, Value)
- Method in class jess.
Deftemplate
Create a new multislot in this deftemplate.
addOutputRouter(String, Writer)
- Method in class jess.
Rete
addSlot(String, Value, String)
- Method in class jess.
Deftemplate
Create a new slot in this deftemplate.
addTest(String, Test1)
- Method in class jess.
Pattern
Add a test to this pattern
addToLHS(HasLHS)
- Method in class jess.
Pattern
addUserfunction(Userfunction)
- Method in class jess.
Rete
Creates a new function in this object Will happily destroy an old one.
addUserpackage(Userpackage)
- Method in class jess.
Rete
Add a Userpackage to this engine.
addValue(Value)
- Method in class jess.
Deffunction
Add a simple value to this deffunction.
AdjustmentListener
- class jess.awt.
AdjustmentListener
.
AdjustmentListener An AWT Event Adapter for Jess.
AdjustmentListener(String, Rete)
- Constructor for class jess.awt.
AdjustmentListener
Connect the Jess function specified by name to this event handler object.
adjustmentValueChanged(AdjustmentEvent)
- Method in class jess.awt.
AdjustmentListener
An event-handler method.
appendText(String)
- Method in class jess.awt.
TextReader
Add text to the internal buffer.
arg(Value)
- Method in class jess.
Funcall
Calls add(v), then returns this object
assert(Fact)
- Method in class jess.
Rete
Assert a fact
assertString(String)
- Method in class jess.
Rete
Assert a fact, as a String
ATOM
- Static variable in class jess.
RU
Data type of atom
atomValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as an atom
atomValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as an atom
atomValue(Context)
- Method in class jess.
BindingValue
atomValue(Context)
- Method in class jess.
FuncallValue
available()
- Method in class jess.awt.
TextReader
Find out if any input is waiting to be read.
B
BagFunctions
- class jess.
BagFunctions
.
User-defined functions for manipulating 'bags' of properties.
BagFunctions()
- Constructor for class jess.
BagFunctions
Batch
- class jess.
Batch
.
The "batch" command.
Batch()
- Constructor for class jess.
Batch
batch(String, Rete)
- Method in class jess.
Batch
BINDING
- Static variable in class jess.
RU
Data type of variable binding stored in value (internal use)
BindingValue
- class jess.
BindingValue
.
A class to represent a location within a rule LHS, used internally.
bload(InputStream)
- Method in class jess.
Rete
Read this object's state from the given stream.
bsave(OutputStream)
- Method in class jess.
Rete
Save this object's state out to the given stream.
C
call(ValueVector, Context)
- Method in class jess.
Batch
call(ValueVector, Context)
- Method in interface jess.
Userfunction
Call this function with the given argument list.
call(ValueVector, Context)
- Method in class jess.
Deffunction
Execute this deffunction.
callNodeLeft(Token)
- Method in class jess.
Defrule
All we need to do is create or destroy the appropriate Activation object, which contains enough info to fire a rule.
callNodeLeft(Token)
- Method in class jess.
Defquery
Recieve satisfied queries
Canvas
- class jess.awt.
Canvas
.
A GUI adapter for Jess.
Canvas(String, Rete)
- Constructor for class jess.awt.
Canvas
Will generally be called from Jess language code via reflection.
CLEAR
- Static variable in class jess.
JessEvent
A (clear) has been executed
clear()
- Method in class jess.
HeapPriorityQueue
clear()
- Method in class jess.
Rete
Reinitialize engine Thanks to Karl Mueller for idea
clear()
- Method in class jess.
Jesp
Flush any partially-parsed information, probably to the next ')'.
clear()
- Method in class jess.awt.
TextReader
Remove all text from the internal buffer.
clear()
- Method in class jess.awt.
TextAreaWriter
clearStorage()
- Method in class jess.
Rete
Clear the storage used by store() and fetch().
clone()
- Method in class jess.
ValueVector
Create a shallow copy of this ValueVector
clone()
- Method in class jess.
Funcall
Copies a Funcall
clone()
- Method in class jess.
Fact
Make a copy of this fact
cloneInto(Funcall)
- Method in class jess.
Funcall
Makes the argument into a copy of this Funcall.
cloneInto(ValueVector)
- Method in class jess.
ValueVector
Make the parameter into a copy of this ValueVector
close()
- Method in class jess.awt.
TextReader
Does nothing.
close()
- Method in class jess.awt.
TextAreaWriter
Does nothing
compare(Activation, Activation)
- Method in interface jess.
Strategy
To implement your own conflict resolution strategy, you write this method.
componentAdded(ContainerEvent)
- Method in class jess.awt.
ContainerListener
An event-handler method.
componentHidden(ComponentEvent)
- Method in class jess.awt.
ComponentListener
An event-handler method.
ComponentListener
- class jess.awt.
ComponentListener
.
ComponentListener An AWT Event Adapter for Jess.
ComponentListener(String, Rete)
- Constructor for class jess.awt.
ComponentListener
Connect the Jess function specified by name to this event handler object.
componentMoved(ComponentEvent)
- Method in class jess.awt.
ComponentListener
An event-handler method.
componentRemoved(ContainerEvent)
- Method in class jess.awt.
ContainerListener
An event-handler method.
componentResized(ComponentEvent)
- Method in class jess.awt.
ComponentListener
An event-handler method.
componentShown(ComponentEvent)
- Method in class jess.awt.
ComponentListener
An event-handler method.
Console
- class jess.
Console
.
A basic graphical console for Jess.
Console(String)
- Constructor for class jess.
Console
Create a Console.
Console(String, boolean)
- Constructor for class jess.
Console
Console(String, Rete)
- Constructor for class jess.
Console
Create a Console, using a prexisting Rete object.
Console(String, Rete, boolean)
- Constructor for class jess.
Console
ConsoleApplet
- class jess.
ConsoleApplet
.
An Applet which uses ConsolePanel.
ConsoleApplet()
- Constructor for class jess.
ConsoleApplet
ConsolePanel
- class jess.
ConsolePanel
.
A basic question-and-answer dialog GUI.
ConsolePanel(Rete)
- Constructor for class jess.
ConsolePanel
Lay out the Panel; also attach the Rete object to the input and output text components.
ConsolePanel(Rete, boolean)
- Constructor for class jess.
ConsolePanel
ContainerListener
- class jess.awt.
ContainerListener
.
ContainerListener An AWT Event Adapter for Jess.
ContainerListener(String, Rete)
- Constructor for class jess.awt.
ContainerListener
Connect the Jess function specified by name to this event handler object.
Context
- class jess.
Context
.
An execution context for Funcalls.
copy(ValueVector, int, ValueVector, int, int)
- Static method in class jess.
ValueVector
System.arraycopy DeLuxe for
ValueVector
s.
D
dataEquals(Token)
- Method in class jess.
Token
Compare the data in this token to another token.
DEFCLASS
- Static variable in class jess.
JessEvent
A defclass has been added or removed
defclass(String, String, String)
- Method in class jess.
Rete
Add a defclass definition to this engine
Deffacts
- class jess.
Deffacts
.
Class used to represent deffacts.
DEFFACTS
- Static variable in class jess.
JessEvent
A deffacts has been added or removed
Deffacts(String, String)
- Constructor for class jess.
Deffacts
Create a deffacts
Deffunction
- class jess.
Deffunction
.
Class used to represent Deffunctions (functions defined in the Jess language).
Deffunction(String, String)
- Constructor for class jess.
Deffunction
Create a deffunction
Defglobal
- class jess.
Defglobal
.
Class used to represent Defglobals.
DEFGLOBAL
- Static variable in class jess.
JessEvent
A defglobal has been added or removed
Defglobal(String, Value)
- Constructor for class jess.
Defglobal
Create a defglobal.
DEFINSTANCE
- Static variable in class jess.
JessEvent
A definstance has been added or removed
definstance(String, Object, boolean)
- Method in class jess.
Rete
Tell this engine to pattern match on the given object.
Defquery
- class jess.
Defquery
.
Class used to represent Defqueries.
Defrule
- class jess.
Defrule
.
Class used to represent Defrules.
DEFRULE
- Static variable in class jess.
JessEvent
A defrule has been added or removed
DEFRULE_FIRED
- Static variable in class jess.
JessEvent
A defrule has been fired
Deftemplate
- class jess.
Deftemplate
.
Class used to parse, print and represent deftemplates.
DEFTEMPLATE
- Static variable in class jess.
JessEvent
A deftemplate has been added or removed
Deftemplate(String, String)
- Constructor for class jess.
Deftemplate
Constructor.
Deftemplate(String, String, Deftemplate)
- Constructor for class jess.
Deftemplate
Constructor.
doBackwardChaining()
- Method in class jess.
Deftemplate
Make this deftemplate backwards-chaining reactive.
doPreAssertionProcessing(Fact)
- Method in class jess.
Rete
doTest(Context)
- Method in interface jess.
Test
Perform the actual test.
doTest(Context)
- Method in class jess.
Test1
DT_DATA_TYPE
- Static variable in class jess.
RU
Relative index of slot data type within a deftemplate's slots
DT_DFLT_DATA
- Static variable in class jess.
RU
Relative index of slot default value within a deftemplate's slots
DT_SLOT_NAME
- Static variable in class jess.
RU
Relative index of slot name within a deftemplate's slots
DT_SLOT_SIZE
- Static variable in class jess.
RU
Size of a slot in a deftemplate
DumpFunctions
- class jess.
DumpFunctions
.
Implements the Jess functions
bload
and
bsave
.
DumpFunctions()
- Constructor for class jess.
DumpFunctions
E
EOF
- Static variable in class jess.
Funcall
The object representing end-of-file
EQ
- Static variable in interface jess.
Test
Used by Test constructors to indicate this test is for equality
equals(Object)
- Method in class jess.
Value
Compare this value to another object.
equals(Object)
- Method in class jess.
ValueVector
Comparethis valueVector to another object.
equals(Object)
- Method in class jess.
Activation
Compare this object to another object.
equals(Object)
- Method in class jess.
Test1
equals(Object)
- Method in class jess.
Fact
The version in ValueVector isn't good enough, since it doesn't compare heads!
equals(Object)
- Method in class jess.
Token
Compare this token to another object.
equals(Value)
- Method in class jess.
Value
Compare this value to another value.
equals(Value)
- Method in class jess.
LongValue
equals(Value)
- Method in class jess.
BindingValue
equalsStar(Value)
- Method in class jess.
Value
Like equals(Value) above, but returns true for 3 == 3.0
evalSalience()
- Method in class jess.
Defrule
Evaluate the salience of this rule.
eventHappened(JessEvent)
- Method in interface jess.
JessListener
Called by a JessEvent source when something interesting happens.
eventHappened(JessEvent)
- Method in class jess.
JessEventAdapter
Called when a JessEvent occurs.
EVERY_TIME
- Static variable in class jess.
Rete
execute(boolean)
- Method in class jess.
Main
Repeatedly parse and excute commands, from location determined during initialize().
execute(Context)
- Method in class jess.
Funcall
Execute a funcall in a particular context.
execute(String[])
- Method in class jess.
Console
Pass the argument array on to an instance of jess.Main connected to this Console, and call Main.execute().
executeCommand(String)
- Method in class jess.
Rete
Call a Jess function in this engine's global context.
EXTERNAL_ADDRESS
- Static variable in class jess.
RU
Data type of external address
externalAddressValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as an external adress object
externalAddressValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as an external address.
externalAddressValue(Context)
- Method in class jess.
BindingValue
externalAddressValue(Context)
- Method in class jess.
FuncallValue
F
Fact
- class jess.
Fact
.
A Fact is a ValueVector where the entries are the slot data in declaration order.
FACT
- Static variable in class jess.
JessEvent
A fact has been asserted or retracted
FACT
- Static variable in class jess.
RU
Data type of a fact id
Fact(Deftemplate)
- Constructor for class jess.
Fact
Basic constructor.
Fact(Fact)
- Constructor for class jess.
Fact
Starts from another Fact.
fact(int)
- Method in class jess.
Token
Return a fact from this token
Fact(String, Rete)
- Constructor for class jess.
Fact
Basic constructor.
FactIDValue
- class jess.
FactIDValue
.
A class to represent a Fact-id.
FactIDValue(Fact)
- Constructor for class jess.
FactIDValue
Create a FactIDValue
factValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a fact
factValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as a Fact
factValue(Context)
- Method in class jess.
BindingValue
factValue(Context)
- Method in class jess.
FuncallValue
FALSE
- Static variable in class jess.
Funcall
The object representing the value FALSE
fetch(String)
- Method in class jess.
Rete
Retrieve an object previously stored with store().
findDefglobal(String)
- Method in class jess.
Rete
findDefrule(String)
- Method in class jess.
Rete
Find a defrule object with a certain name
findDeftemplate(String)
- Method in class jess.
Rete
Find a deftemplate object with a certain name
findFactByID(int)
- Method in class jess.
Rete
This "find" is very slow; don't use it unless you have to.
findUserfunction(String)
- Method in class jess.
Rete
Find a userfunction, if there is one.
FLOAT
- Static variable in class jess.
RU
Data type of float
floatValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a number
floatValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as a float
floatValue(Context)
- Method in class jess.
BindingValue
floatValue(Context)
- Method in class jess.
FuncallValue
flush()
- Method in class jess.awt.
TextAreaWriter
Flushes pending output to the TextArea.
focusGained(FocusEvent)
- Method in class jess.awt.
FocusListener
An event-handler method.
FocusListener
- class jess.awt.
FocusListener
.
FocusListener An AWT Event Adapter for Jess.
FocusListener(String, Rete)
- Constructor for class jess.awt.
FocusListener
Connect the Jess function specified by name to this event handler object.
focusLost(FocusEvent)
- Method in class jess.awt.
FocusListener
An event-handler method.
forgetParent()
- Method in class jess.
Deftemplate
Sever the link with this deftemplate's parent.
Funcall
- class jess.
Funcall
.
A class for parsing, assembling, and interpreting function calls.
FUNCALL
- Static variable in class jess.
RU
Data type of function call stored in a value
Funcall(String, Rete)
- Constructor for class jess.
Funcall
Create a Funcall given the name.
FuncallValue
- class jess.
FuncallValue
.
A class to represent a Jess function call stored in a Value.
funcallValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a function call.
FuncallValue(Funcall)
- Constructor for class jess.
FuncallValue
G
gensym(String)
- Static method in class jess.
RU
Generate a pseudo-unique symbol starting with "prefix"
get(int)
- Method in class jess.
ValueVector
Fetch the entry at position i in thie ValueVector
get(int)
- Method in class jess.
Fact
getAction(int)
- Method in class jess.
Defrule
Fetch the idx-th RHS action of this rule
getActivationSemaphore()
- Method in class jess.
Rete
The monitor of the object returned from this method will be signalled whenever an activation appears.
getApplet()
- Method in class jess.
Rete
Returns the applet this Rete is installed in.
getBackwardChaining()
- Method in class jess.
Deftemplate
Get the backchaining reactivity of this deftemplate.
getBoundName()
- Method in class jess.
Pattern
getClearTemplate()
- Static method in class jess.
Deftemplate
getContext()
- Method in class jess.
JessException
Get the context information for this error.
getData()
- Method in class jess.
JessException
Get the extra error data.
getDeftemplate()
- Method in class jess.
Fact
Return the deftemplate for this fact.
getDeftemplate()
- Method in class jess.
Pattern
getDisplayName()
- Method in class jess.
HasLHS
Fetch the display name of this construct
getDocstring()
- Method in class jess.
Deftemplate
Get the docstring of this deftemplate
getDocstring()
- Method in class jess.
HasLHS
Get the documentation string for this construct.
getDocstring()
- Method in class jess.
Deffacts
Fetch the documentation comment, if any, for this deffacts
getDocstring()
- Method in class jess.
Deffunction
Fetch the documentation string of this Deffunction
getEngine()
- Method in class jess.
Console
Return the Rete engine being used by this Console.
getEngine()
- Method in class jess.
Context
getErrStream()
- Method in class jess.
Rete
getEvalSalience()
- Method in class jess.
Rete
Fetch the salience evaluation behaviour
getEventMask()
- Method in class jess.
Rete
getExplicit()
- Method in class jess.
Pattern
getFact()
- Method in class jess.
Context
If this context represents a join network node from a rule LHS, this will return the right input of the node.
getFact(int)
- Method in class jess.
Deffacts
Fetch a single Fact from this deffacts
getFactId()
- Method in class jess.
Fact
Returns this Fact's fact-id.
getFactNumber()
- Method in class jess.
BindingValue
getFactory()
- Static method in class jess.
Rete
getGlobalContext()
- Method in class jess.
Rete
Fetch the global execution context.
getGroupable(int)
- Method in class jess.
Pattern
getGroupSize()
- Method in class jess.
Pattern
getInitializationValue()
- Method in class jess.
Defglobal
Get this defglobal's initialization value.
getInitialTemplate()
- Static method in class jess.
Deftemplate
getInputMode(String)
- Method in class jess.
Rete
getInputRouter(String)
- Method in class jess.
Rete
getLineNumber()
- Method in class jess.
JessException
Get the program line number where the error occurred.
getMessage()
- Method in class jess.
JessException
Get the error message.
getMultislotIndex()
- Method in class jess.
Test1
getNActions()
- Method in class jess.
Defrule
Fetch the number of actions on this rule's RHS
getName()
- Method in class jess.
BindingValue
getName()
- Method in class jess.
Batch
getName()
- Method in class jess.
Deftemplate
Get the name of this deftemplate
getName()
- Method in class jess.
HasLHS
Fetch the name of this construct
getName()
- Method in class jess.
Deffacts
Fetch the name of thie deffacts
getName()
- Method in interface jess.
Userfunction
Return the name of this function.
getName()
- Method in interface jess.
Strategy
Return the name of this strategy
getName()
- Method in class jess.
Defglobal
Get this defglobal's variable name
getName()
- Method in class jess.
Fact
getName()
- Method in class jess.
Deffunction
Fetch the name of this Deffunction
getName()
- Method in class jess.
Pattern
getNegated()
- Method in class jess.
Pattern
Is this pattern a (not()) CE pattern, possibly nested?
getNextException()
- Method in class jess.
JessException
Get any nested exception object.
getNFacts()
- Method in class jess.
Deffacts
Fetch the number of facts in this deffacts
getNMultifieldsInSlot(int)
- Method in class jess.
Pattern
getNodeIndexHash()
- Method in class jess.
HasLHS
Get the node-index-hash setting of this construct.
getNPatterns()
- Method in class jess.
HasLHS
Fetch the number of patterns on the LHS of this construct.
getNSlots()
- Method in class jess.
Deftemplate
Return the number of slots in this deftemplate
getNSlots()
- Method in class jess.
Pattern
getNTests(int)
- Method in class jess.
Pattern
getNullTemplate()
- Static method in class jess.
Deftemplate
getObject()
- Method in class jess.
JessEvent
Gets any optional data associated with this event.
getOutputRouter(String)
- Method in class jess.
Rete
getOutStream()
- Method in class jess.
Rete
getParent()
- Method in class jess.
Deftemplate
return the parent of this deftemplate.
getParentTemplate()
- Static method in class jess.
Deftemplate
getPattern(int)
- Method in class jess.
HasLHS
Return the idx-th Pattern on this construct's LHS.
getProgramText()
- Method in class jess.
JessException
Get the Jess program fragment that led to this exception
getProperty(String)
- Static method in class jess.
RU
Get a property, but return null on SecurityException
getResetGlobals()
- Method in class jess.
Rete
When resetGlobals is true, the initializers of global variables are evaluated when (reset) is executed.
getRoutine()
- Method in class jess.
JessException
Get the Java routine name where this error occurred
getRule()
- Method in class jess.
Activation
Return the activated rule.
getSalience()
- Method in class jess.
Defrule
Fetch the salience setting of this rule
getSlotDataType(int)
- Method in class jess.
Deftemplate
Returns the slot data type (one of the constants in jess.RU) for the slot given by the zero-based index.
getSlotDefault(int)
- Method in class jess.
Deftemplate
Returns the default value of a slot given by the zero-based index.
getSlotIndex()
- Method in class jess.
BindingValue
getSlotIndex(String)
- Method in class jess.
Deftemplate
Return the index (0, 1, 2 ...
getSlotLength(int)
- Method in class jess.
Pattern
getSlotName(int)
- Method in class jess.
Deftemplate
Return the name of a given slot in this deftemplate
getSlotType(int)
- Method in class jess.
Deftemplate
Returns the slot type (RU.SLOT or RU.MULTISLOT) of the slot in this deftemplate given by the zero-based index.
getSlotValue(String)
- Method in class jess.
Fact
Return the value from the named slot.
getStrategy()
- Method in class jess.
HeapPriorityQueue
getSubIndex()
- Method in class jess.
BindingValue
getSuccessors()
- Method in class jess.
Node
Constructor
getTest()
- Method in class jess.
Test1
getTest(int, int)
- Method in class jess.
Pattern
getToken()
- Method in class jess.
Context
If this context represents a join network node from a rule LHS, this will return the left input of the node.
getToken()
- Method in class jess.
Activation
Get the Rete network Token that caused this Activation.
getType()
- Method in class jess.
BindingValue
getType()
- Method in class jess.
JessEvent
Gets the type of this event.
getTypeName(int)
- Static method in class jess.
RU
Given a type constant (ATOM, STRING, INTEGER, etc.) return a String version of the name of that type ("ATOM", "STRING", "INTEGER", etc.)
getUnique()
- Method in class jess.
Pattern
getValue()
- Method in class jess.
Test1
getVariable(String)
- Method in class jess.
Context
Get the value of a variable
H
halt()
- Method in class jess.
Rete
Stop the engine from firing rules.
hashCode()
- Method in class jess.
Value
Return a hashcode for the object
hashCode()
- Method in class jess.
BindingValue
hashCode()
- Method in class jess.
Fact
hashCode()
- Method in class jess.
Token
Use the sortcode, based on the contained facts, as the hashcode.
HasLHS
- class jess.
HasLHS
.
Parent class of Defrules and Defqueries.
HeapPriorityQueue
- class jess.
HeapPriorityQueue
.
A heap-based priority queue.
HeapPriorityQueue()
- Constructor for class jess.
HeapPriorityQueue
I
init()
- Method in class jess.
ConsoleApplet
initialize(String[], Rete)
- Method in class jess.
Main
Set a Main object up for later execution.
INSTALL
- Static variable in class jess.
Rete
INTEGER
- Static variable in class jess.
RU
Data type of integer
IntrinsicPackage
- interface jess.
IntrinsicPackage
.
Interface for a collection of built-in functions
intValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as an int
intValue(Context)
- Method in class jess.
LongValue
intValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as an int
intValue(Context)
- Method in class jess.
BindingValue
intValue(Context)
- Method in class jess.
FuncallValue
isEmpty()
- Method in class jess.
HeapPriorityQueue
isInactive()
- Method in class jess.
Activation
Returns true if this activation is live, or false if it's been cancelled.
isMultifieldSubslot(int, int)
- Method in class jess.
Pattern
isShadow()
- Method in class jess.
Fact
Indicates whether this Fact is a shadow fact for a matched Bean.
ItemListener
- class jess.awt.
ItemListener
.
ItemListener An AWT Event Adapter for Jess.
ItemListener(String, Rete)
- Constructor for class jess.awt.
ItemListener
Connect the Jess function specified by name to this event handler object.
itemStateChanged(ItemEvent)
- Method in class jess.awt.
ItemListener
An event-handler method.
iterator()
- Method in class jess.
HeapPriorityQueue
J
Jesp
- class jess.
Jesp
.
Parser functionality for Jess.
Jesp(Reader, Rete)
- Constructor for class jess.
Jesp
Construct a Jesp object.
jess
- package jess
jess.awt
- package jess.awt
JessEvent
- class jess.
JessEvent
.
JessEvents are used by JessEvent sources (like the Rete class) to convey information about interesting things that happen to registered event listeners.
JessEvent(Object, int, Object)
- Constructor for class jess.
JessEvent
Construct a JessEvent containing the given information.
JessEventAdapter
- class jess.
JessEventAdapter
.
JessEventAdapter A Jess Event Adapter that lets you write JessEvent handlers in Jess.
JessEventAdapter(String, Rete)
- Constructor for class jess.
JessEventAdapter
Create an adapter.
JessException
- exception jess.
JessException
.
JessException is the parent type of all exceptions thrown by public methods in the Jess library.
JessException(String, String, int)
- Constructor for class jess.
JessException
Constructs a JessException containing a descriptive message.
JessException(String, String, String)
- Constructor for class jess.
JessException
Constructs a JessException containing a descriptive message.
JessException(String, String, Throwable)
- Constructor for class jess.
JessException
Constructs a JessException containing a nested exception.
JessListener
- interface jess.
JessListener
.
JessListener is a notification interface for Jess events.
justFired(Activation)
- Method in class jess.
Rete
K
KeyListener
- class jess.awt.
KeyListener
.
KeyListener An AWT Event Adapter for Jess.
KeyListener(String, Rete)
- Constructor for class jess.awt.
KeyListener
Connect the Jess function specified by name to this event handler object.
keyPressed(KeyEvent)
- Method in class jess.awt.
KeyListener
An event-handler method.
keyReleased(KeyEvent)
- Method in class jess.awt.
KeyListener
An event-handler method.
keyTyped(KeyEvent)
- Method in class jess.awt.
KeyListener
An event-handler method.
L
LEFT
- Static variable in class jess.
Node
LispFunctions
- class jess.
LispFunctions
.
Some LISP compatibility functions.
LispFunctions()
- Constructor for class jess.
LispFunctions
LIST
- Static variable in class jess.
RU
Data type of a list stored in a value
listActivations()
- Method in class jess.
Rete
Return an Enumeration of all the activiations - i.e, the agenda.
listDeffacts()
- Method in class jess.
Rete
Return an Enumeration of all the deffacts in this engine.
listDefglobals()
- Method in class jess.
Rete
Return an Enumeration of all the defglobals in this engine.
listDefinstances()
- Method in class jess.
Rete
Return an Enumeration of all the definstanced objects
listDefrules()
- Method in class jess.
Rete
Return an Enumeration of all the defrules in this engine.
listDeftemplates()
- Method in class jess.
Rete
Return an Enumeration of all the deftemplates in this engine, both explicit and implied.
listFacts()
- Method in class jess.
Rete
Return an Enumeration of all the facts currently on the fact-list
listFunctions()
- Method in class jess.
Rete
Return an Enumeration of all the functions in this engine: built-in, user, and deffunctions.
listNodes()
- Method in class jess.
HasLHS
Return a string (useful for debugging) describing all the Rete network nodes connected to this construct.
listValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a list
listValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as a list
listValue(Context)
- Method in class jess.
BindingValue
listValue(Context)
- Method in class jess.
FuncallValue
loadFacts()
- Method in class jess.
Jesp
Parses an input file containing only facts, asserts each one.
LONG
- Static variable in class jess.
RU
Data type of Java long
LongValue
- class jess.
LongValue
.
A class to represent a Java long.
longValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a long
longValue(Context)
- Method in class jess.
LongValue
LongValue(long)
- Constructor for class jess.
LongValue
Create a LongValue
M
m_usecount
- Variable in class jess.
Node
How many rules use me?
Main
- class jess.
Main
.
A command-line interface for Jess; also displayed in a window by the Console classes.
Main()
- Constructor for class jess.
Main
main(String[])
- Static method in class jess.
Console
Trivial main() to display this frame
main(String[])
- Static method in class jess.
Main
MathFunctions
- class jess.
MathFunctions
.
Mathematical functions for Jess.
MathFunctions()
- Constructor for class jess.
MathFunctions
MiscFunctions
- class jess.
MiscFunctions
.
Some miscellaneous functions.
MiscFunctions()
- Constructor for class jess.
MiscFunctions
MODIFIED
- Static variable in class jess.
JessEvent
Added to other event-related flags to indicate modified fact
mouseClicked(MouseEvent)
- Method in class jess.awt.
MouseListener
An event-handler method.
mouseDragged(MouseEvent)
- Method in class jess.awt.
MouseMotionListener
An event-handler method.
mouseEntered(MouseEvent)
- Method in class jess.awt.
MouseListener
An event-handler method.
mouseExited(MouseEvent)
- Method in class jess.awt.
MouseListener
An event-handler method.
MouseListener
- class jess.awt.
MouseListener
.
MouseListener An AWT Event Adapter for Jess.
MouseListener(String, Rete)
- Constructor for class jess.awt.
MouseListener
Connect the Jess function specified by name to this event handler object.
MouseMotionListener
- class jess.awt.
MouseMotionListener
.
MouseMotionListener An AWT Event Adapter for Jess.
MouseMotionListener(String, Rete)
- Constructor for class jess.awt.
MouseMotionListener
Connect the Jess function specified by name to this event handler object.
mouseMoved(MouseEvent)
- Method in class jess.awt.
MouseMotionListener
An event-handler method.
mousePressed(MouseEvent)
- Method in class jess.awt.
MouseListener
An event-handler method.
mouseReleased(MouseEvent)
- Method in class jess.awt.
MouseListener
An event-handler method.
MultiFunctions
- class jess.
MultiFunctions
.
Functions to deal with multifields.
MultiFunctions()
- Constructor for class jess.
MultiFunctions
MULTISLOT
- Static variable in class jess.
RU
Data type of multislot name stored in a value
MULTIVARIABLE
- Static variable in class jess.
RU
Data type of multivariable
N
NEQ
- Static variable in interface jess.
Test
Used by Test constructors to indicate this test is for inequality
NIL
- Static variable in class jess.
Funcall
The object representing the value NIL
NILLIST
- Static variable in class jess.
Funcall
An object representing an empty list.
Node
- class jess.
Node
.
(C) 1997 Ernest J.
Node()
- Constructor for class jess.
Node
NONE
- Static variable in class jess.
RU
Data type of "no value"
numericValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a number
numericValue(Context)
- Method in class jess.
LongValue
numericValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as a float
numericValue(Context)
- Method in class jess.
BindingValue
numericValue(Context)
- Method in class jess.
FuncallValue
P
paint(Graphics)
- Method in class jess.awt.
Canvas
The paint() method that all AWT components have.
parse(boolean)
- Method in class jess.
Jesp
Parses an input file.
Pattern
- class jess.
Pattern
.
Pattern represents a single conditional element on a rule LHS.
Pattern(String, Rete, int)
- Constructor for class jess.
Pattern
pop()
- Method in class jess.
HeapPriorityQueue
ppFacts(String, Writer)
- Method in class jess.
Rete
Write the pretty print forms of the facts with the given head to the writer
ppFacts(Writer)
- Method in class jess.
Rete
Write the pretty print forms of all facts to the writer
PredFunctions
- class jess.
PredFunctions
.
Predicate functions (is X of type Y?).
PredFunctions()
- Constructor for class jess.
PredFunctions
prepare(boolean)
- Method in class jess.
Token
A chance for a token to duplicate itself Used by extensions
push(Activation)
- Method in class jess.
HeapPriorityQueue
R
read()
- Method in class jess.awt.
TextReader
Read a character from the internal buffer.
read(char[])
- Method in class jess.awt.
TextReader
Read an array of characters from the internal buffer.
read(char[], int, int)
- Method in class jess.awt.
TextReader
Read part of an array of characters from the internal buffer.
ReflectFunctions
- class jess.
ReflectFunctions
.
Java Reflection for Jess.
ReflectFunctions()
- Constructor for class jess.
ReflectFunctions
remove(Activation)
- Method in class jess.
HeapPriorityQueue
REMOVED
- Static variable in class jess.
JessEvent
Added to other event-related flags to indicate removal of construct
removeInputRouter(String)
- Method in class jess.
Rete
removeJessListener(JessListener)
- Method in class jess.
Node
removeJessListener(JessListener)
- Method in class jess.
Rete
removeOutputRouter(String)
- Method in class jess.
Rete
RESET
- Static variable in class jess.
JessEvent
A (reset) has been executed
reset()
- Method in class jess.
Rete
Reset the Rete engine.
reset(Rete)
- Method in class jess.
Deffacts
Assert my facts into engine.
reset(Rete)
- Method in class jess.
Defglobal
Reinject this Defglobal into the engine
resetFactNumber()
- Method in class jess.
BindingValue
resolveValue(Context)
- Method in class jess.
Value
Given an evaluation context, return the "true value" of this Value.
resolveValue(Context)
- Method in class jess.
Variable
Will resolve the variable (return the value it represents.)
resolveValue(Context)
- Method in class jess.
BindingValue
resolveValue(Context)
- Method in class jess.
FuncallValue
Rete
- class jess.
Rete
.
The reasoning engine.
RETE_TOKEN
- Static variable in class jess.
JessEvent
A Rete node has been reached by a token.
RETE_TOKEN_LEFT
- Static variable in class jess.
JessEvent
A Rete node has been reached by a token, calltype left
RETE_TOKEN_RIGHT
- Static variable in class jess.
JessEvent
A Rete node has been reached by a token, calltype right
Rete()
- Constructor for class jess.
Rete
Rete(Applet)
- Constructor for class jess.
Rete
retract(Fact)
- Method in class jess.
Rete
Retract a fact.
retractString(String)
- Method in class jess.
Rete
Karl Mueller NASA/GSFC Code 522.2 (Karl.R.Mueller@gsfc.nasa.gov) 27.January.1998 Retract a fact as a string
RIGHT
- Static variable in class jess.
Node
RU
- class jess.
RU
.
General utilities for Jess.
RUN
- Static variable in class jess.
JessEvent
A (run) has been executed
run()
- Method in class jess.
ConsoleApplet
run()
- Method in class jess.
Rete
Run the actual engine.
run(int)
- Method in class jess.
Rete
Run the rule engine.
runQuery(String, ValueVector)
- Method in class jess.
Rete
Quick way to run a defquery
runUntilHalt()
- Method in class jess.
Rete
Run until halt() is called.
S
set(Value, int)
- Method in class jess.
ValueVector
Set the entry at position i to val.
setApplet(Applet)
- Method in class jess.
Rete
Associates this Rete with an applet so that, for instance, the (batch) commands will look for scripts using the applet's document base URL.
setBoundName(String)
- Method in class jess.
Pattern
setData(String)
- Method in class jess.
JessException
Set the value of the extra error data.
setDocstring(String)
- Method in class jess.
Deffunction
Set the documentation string of this Deffunction
setEvalSalience(int)
- Method in class jess.
Rete
Set the salience evaluation behaviour.
setEventMask(int)
- Method in class jess.
Rete
setExplicit(boolean)
- Method in class jess.
Pattern
setFactory(Factory)
- Static method in class jess.
Rete
setFocus()
- Method in class jess.
ConsolePanel
Move focus to the input area.
setLength(int)
- Method in class jess.
ValueVector
Set the length of this ValueVector.
setLineNumber(int)
- Method in class jess.
JessException
Set the program line number where the error occurred.
setMessage(String)
- Method in class jess.
JessException
Set the error message.
setNextException(Throwable)
- Method in class jess.
JessException
Set a nested exception object
setNodeIndexHash(int)
- Method in class jess.
HasLHS
Set the node-index-hash of this construct.
setPendingFact(Fact, boolean)
- Method in class jess.
Rete
setProgramText(String)
- Method in class jess.
JessException
Set the Jess program fragment that led to this exception.
setResetGlobals(boolean)
- Method in class jess.
Rete
When resetGlobals is true, the initializers of global variables are evaluated when (reset) is executed.
setRoutine(String)
- Method in class jess.
JessException
Set the Java routine name where this error occurred
setSlotLength(String, int)
- Method in class jess.
Pattern
Set the length of a multislot within a pattern
setSlotValue(String, Value)
- Method in class jess.
Fact
Set the value in the named slot.
setStrategy(Strategy)
- Method in class jess.
HeapPriorityQueue
setStrategy(Strategy)
- Method in class jess.
Rete
setUnique()
- Method in class jess.
Pattern
setVariable(String, Value)
- Method in class jess.
Context
Set a (possibly new) variable to some type and value
showLogo()
- Method in class jess.
Main
Display the Jess startup banner on the Rete object's standard output, something like
simplify()
- Method in class jess.
Pattern
size()
- Method in class jess.
ValueVector
Fetch the size of this ValueVector
size()
- Method in class jess.
Token
Returns the number of facts in this token
size()
- Method in class jess.
Pattern
SLOT
- Static variable in class jess.
RU
Data type of slot name stored in a value
speedup(Funcall)
- Method in interface jess.
Accelerator
Given the function call, return a Test object.
start()
- Method in class jess.
ConsoleApplet
stop()
- Method in class jess.
ConsoleApplet
store(String, Object)
- Method in class jess.
Rete
Store a value in the engine under a given name for later retrieval by fetch.
store(String, Value)
- Method in class jess.
Rete
Store a value in the engine under a given name for later retrieval by fetch.
Strategy
- interface jess.
Strategy
.
An interface for conflict resolution strategies.
STRING
- Static variable in class jess.
RU
Data type of string
StringFunctions
- class jess.
StringFunctions
.
Implements String handling functions.
StringFunctions()
- Constructor for class jess.
StringFunctions
stringValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a String
stringValue(Context)
- Method in class jess.
LongValue
stringValue(Context)
- Method in class jess.
Variable
Resolves the variable, then returns the value as a string
stringValue(Context)
- Method in class jess.
BindingValue
stringValue(Context)
- Method in class jess.
FuncallValue
T
Test
- interface jess.
Test
.
A generic Rete network test.
Test1
- class jess.
Test1
.
Holds a single test in a Pattern on the LHS of a Rule.
Test1(int, int, Value, int)
- Constructor for class jess.
Test1
Create a single test.
TextAreaWriter
- class jess.awt.
TextAreaWriter
.
TextAreaWriter: a simple Writer, suitable for constructing a PrintWriter, which uses a TextArea as its output.
TextAreaWriter(TextArea)
- Constructor for class jess.awt.
TextAreaWriter
Call this with an already constructed TextArea object, which you can put wherever you'd like.
TextListener
- class jess.awt.
TextListener
.
TextListener An AWT Event Adapter for Jess.
TextListener(String, Rete)
- Constructor for class jess.awt.
TextListener
Connect the Jess function specified by name to this event handler object.
TextReader
- class jess.awt.
TextReader
.
A very simple reader, something like StringBufferReader but you can add text to it.
TextReader(boolean)
- Constructor for class jess.awt.
TextReader
Create a TextReader.
textValueChanged(TextEvent)
- Method in class jess.awt.
TextListener
An event-handler method.
Token
- class jess.
Token
.
A Token is the fundamental unit of communication in the Rete network.
Token(Fact, int)
- Constructor for class jess.
Token
tag should be RU.ADD or RU.REMOVE
Token(Token)
- Constructor for class jess.
Token
Create a new Token identical to an old one
Token(Token, Fact)
- Constructor for class jess.
Token
Create a new Token containing the same data as an old one
Token(Token, Token)
- Constructor for class jess.
Token
Create a new Token containing the same data as an old one
topFact()
- Method in class jess.
Token
Return the last fact in the Token (the "most recent" one.)
toString()
- Method in class jess.
Value
Pretty-print this value, without adding parens to any lists
toString()
- Method in class jess.
LongValue
toString()
- Method in class jess.
Context
toString()
- Method in class jess.
BindingValue
toString()
- Method in class jess.
JessException
Returns a String representation of this JessException.
toString()
- Method in class jess.
ValueVector
Return a String version of this ValueVector, without parentheses.
toString()
- Method in class jess.
Funcall
Formats a Funcall as a String
toString()
- Method in class jess.
JessEvent
Return a string suitable for debugging.
toString()
- Method in class jess.
Deftemplate
Turn this deftemplate into a String
toString()
- Method in class jess.
HasLHS
toString()
- Method in class jess.
Activation
Produce a string representation of this Activation for use in debugging.
toString()
- Method in class jess.
Deffacts
Describe myself
toString()
- Method in class jess.
Defglobal
Describe myself
toString()
- Method in class jess.
Test1
toString()
- Method in class jess.
Fact
Pretty-print this fact into a String.
toString()
- Method in class jess.
Deffunction
Describe myself
toString()
- Method in class jess.
Token
Return a string (useful for debugging) describing this token.
toString()
- Method in class jess.
Pattern
toStringWithParens()
- Method in class jess.
Value
Pretty-print this value, adding parens to any lists
toStringWithParens()
- Method in class jess.
ValueVector
Return a String version of this ValueVector, with parentheses around all ValueVectors.
toStringWithParens()
- Method in class jess.
Funcall
toStringWithParens()
- Method in class jess.
Fact
TRUE
- Static variable in class jess.
Funcall
The object representing the value TRUE
type()
- Method in class jess.
Value
Return the type of this variable.
U
undefinstance(Object)
- Method in class jess.
Rete
Tell this engine to stop pattern matching on the given object
unDefrule(String)
- Method in class jess.
Rete
Userfunction
- interface jess.
Userfunction
.
Interface for all functions, user-defined or otherwise, callable from the Jess language.
USERFUNCTION
- Static variable in class jess.
JessEvent
A userfunction has been added or removed
USERFUNCTION_CALLED
- Static variable in class jess.
JessEvent
A userfunction has been called
Userpackage
- interface jess.
Userpackage
.
Interface for a collection of functions, user-defined or otherwise.
USERPACKAGE
- Static variable in class jess.
JessEvent
A userpackage has been added or removed
V
Value
- class jess.
Value
.
A class to represent a Jess typed value.
Value(double, int)
- Constructor for class jess.
Value
Contruct a value of floating-point type.
Value(int, int)
- Constructor for class jess.
Value
Contruct a value of integral type.
Value(Object)
- Constructor for class jess.
Value
Contruct a value of external address type.
Value(String, int)
- Constructor for class jess.
Value
Contruct a value of String type.
Value(Value)
- Constructor for class jess.
Value
Contruct a value that is a copy of another Value.
Value(ValueVector, int)
- Constructor for class jess.
Value
Contruct a value of list type.
ValueVector
- class jess.
ValueVector
.
A mini version of Vector (a self-extending array) that only holds Values.
ValueVector()
- Constructor for class jess.
ValueVector
Construct a ValueVector of the default size (10)
ValueVector(int)
- Constructor for class jess.
ValueVector
Construct a ValueVector of the given size
Variable
- class jess.
Variable
.
A class to represent a Jess variable.
VARIABLE
- Static variable in class jess.
RU
Data type of a variable
Variable(String, int)
- Constructor for class jess.
Variable
Create a Variable
variableValue(Context)
- Method in class jess.
Value
Returns the contents of this value, as a String (a variable name)
variableValue(Context)
- Method in class jess.
Variable
Returns the name of this variable
variableValue(Context)
- Method in class jess.
BindingValue
variableValue(Context)
- Method in class jess.
FuncallValue
ViewFunctions
- class jess.
ViewFunctions
.
A nifty graphical Rete Network viewer for Jess.
ViewFunctions()
- Constructor for class jess.
ViewFunctions
W
waitForActivations()
- Method in class jess.
Rete
Waits on the activation lock until a rule is activated.
windowActivated(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
windowClosed(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
windowClosing(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
windowDeactivated(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
windowDeiconified(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
windowIconified(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
WindowListener
- class jess.awt.
WindowListener
.
WindowListener An AWT Event Adapter for Jess.
WindowListener(String, Rete)
- Constructor for class jess.awt.
WindowListener
Connect the Jess function specified by name to this event handler object.
windowOpened(WindowEvent)
- Method in class jess.awt.
WindowListener
An event-handler method.
write(char[], int, int)
- Method in class jess.awt.
TextAreaWriter
Writes a portion of an array of characters to the TextArea.
A
B
C
D
E
F
G
H
I
J
K
L
M
N
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
© 1997 E.J. Friedman-Hill and Sandia Corporation
PREV NEXT
FRAMES
NO FRAMES