A B C D E F G H I J K L M N P R S T U V W

A

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(Rete) - Method in class jess.MiscFunctions
 
add(Rete) - Method in class jess.ReflectFunctions
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 class jess.MathFunctions
Add these functions to the given Rete object
add(Rete) - Method in class jess.DumpFunctions
Add this collection of functions to a Rete engine
add(Rete) - Method in class jess.MultiFunctions
 
add(Rete) - Method in class jess.BagFunctions
Actually add the package to the Rete object.
add(Rete) - Method in class jess.StringFunctions
Add these functions to a Rete object
add(Rete) - Method in class jess.PredFunctions
Add these functions to a Rete object.
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.
addActivation(Activation, Vector) - Method in interface jess.Strategy
To implement your own conflict resolution strategy, you write this method.
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.DumpFunctions
Register a listener that want to know when a bload/bsave has occurred.
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 value to this 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.FuncallValue
 
atomValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as an atom
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
 
Binding - class jess.Binding.
Binding binds variables to values; internally, also binds variables to slots in facts.
Binding(String, int, int, int, int) - Constructor for class jess.Binding
Create a binding, setting initial values.
Binding(String, Value) - Constructor for class jess.Binding
Create a binding, bound to a Value.
BLOAD - Static variable in class jess.JessEvent
A (bload) has been executed
bsearchVector(int, Vector, int, int, RU.Fetch, RU.Compare) - Static method in class jess.RU
A general-purpose helper routine for use in implementing jess.Strategy classes.

C

call(ValueVector, Context) - Method in class jess.Deffunction
Execute this deffunction.
call(ValueVector, Context) - Method in interface jess.Userfunction
Call this function with the given argument list.
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.Jesp
Flush any partially-parsed information, probably to the next ')'.
clear() - Method in class jess.Rete
Reinitialize engine Thanks to Karl Mueller for idea
clear() - Method in class jess.awt.TextReader
Remove all text from the internal buffer.
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.Fact
Make a copy of this fact
clone() - Method in class jess.Binding
Make a copy of the variable
clone() - Method in class jess.Funcall
Copies a Funcall
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.TextAreaWriter
Does nothing
close() - Method in class jess.awt.TextReader
Does nothing.
compare(int, int) - Method in interface jess.RU.Compare
Given two integers, return true or false depending on some comparison.
compareEQ - Static variable in class jess.RU
Comparison that returns true if the first int is equal to the second.
compareGT - Static variable in class jess.RU
Comparison that returns true if the first int is greater than the second.
compareGTE - Static variable in class jess.RU
Comparison that returns true if the first int is greater than or equal to the second.
compareLT - Static variable in class jess.RU
Comparison that returns true if the first int is less than the second.
compareLTE - Static variable in class jess.RU
Comparison that returns true if the first int is less than or equal to the second.
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, Rete) - Constructor for class jess.Console
Create a Console, using a prexisting Rete object.
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.
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.

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
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
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.
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.ValueVector
Comparethis valueVector to another object.
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.Value
Compare this value to another object.
equals(Object) - Method in class jess.Activation
Compare this object to another object.
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.
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 class jess.Defglobal
On a RESET event, reenter myself into engine, but only if the engine thinks it's appropriate (i,e., depending on the current set-reset-globals setting.) On a CLEAR event, unlink myself from the engine.
eventHappened(JessEvent) - Method in class jess.Main
 
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.
eventHappened(JessEvent) - Method in class jess.Deffacts
Assert my facts into engine.
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
Stuff to let Java code call functions inside of us.
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.FuncallValue
 
externalAddressValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as an external address.

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 fact stored in a value
FACT_ID - Static variable in class jess.RU
Data type of a fact id
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(Context) - Method in class jess.Value
Returns the contents of this value, as a fact-id (an int)
factIDValue(Context) - Method in class jess.FuncallValue
 
factIDValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as a fact-ID
factValue(Context) - Method in class jess.Value
Returns the contents of this value, as a fact
factValue(Context) - Method in class jess.FuncallValue
 
factValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as a Fact
FALSE - Static variable in class jess.Funcall
The object representing the value FALSE
fetch(Object) - Method in interface jess.RU.Fetch
Given an Object, a call to fetch() will return an integer retrieved or compputed from the object in some way.
fetch(String) - Method in class jess.Rete
Retrieve an object previously stored with store().
fetchActSalience - Static variable in class jess.RU
A Fetch that retrieves salience values from jess.Activation objects.
fetchActTime - Static variable in class jess.RU
A Fetch that retrieves time stamps from jess.Activation objects.
findActivation(Token, Defrule, Vector) - Method in interface jess.Strategy
To implement your own conflict resolution strategy, you write this method.
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 used by the retract that rules use.
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.FuncallValue
 
floatValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as a float
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
getAction(int) - Method in class jess.Defrule
Fetch the idx-th RHS action of this rule
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
 
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.Pattern
 
getDeftemplate() - Method in class jess.Fact
Return the deftemplate for this fact.
getDocstring() - Method in class jess.HasLHS
Get the documentation string for this construct.
getDocstring() - Method in class jess.Deffunction
Fetch the documentation string of this Deffunction
getDocstring() - Method in class jess.Deffacts
Fetch the documentation comment, if any, for this deffacts
getDocstring() - Method in class jess.Deftemplate
Get the docstring of this deftemplate
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
getFactDuplication() - Method in class jess.Rete
Returns true if duplicate facts are allowed, false otherwise.
getFactId() - Method in class jess.Fact
Returns this Fact's fact-id.
getGlobalContext() - Method in class jess.Rete
Fetch the global execution context.
getId() - Method in class jess.Defrule
Fetch the unique id of this rule.
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.Pattern
 
getName() - Method in class jess.Fact
 
getName() - Method in class jess.HasLHS
Fetch the name of this construct
getName() - Method in class jess.Defglobal
Get this defglobal's variable name
getName() - Method in class jess.Deffunction
Fetch the name of this Deffunction
getName() - Method in class jess.Deffacts
Fetch the name of thie deffacts
getName() - Method in class jess.Deftemplate
Get the name of this deftemplate
getName() - Method in interface jess.Strategy
Return the name of this strategy
getName() - Method in interface jess.Userfunction
Return the name of this function.
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 objects
getNFacts() - Method in class jess.Deffacts
Fetch the number of facts in this deffacts
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.Pattern
 
getNSlots() - Method in class jess.Deftemplate
Return the number of slots in this deftemplate
getNTests(int) - Method in class jess.Pattern
 
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.
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(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.
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.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
Jane, stop this crazy thing!
hashCode() - Method in class jess.Value
Return a hashcode for the object
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.

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
 
INTARRAY - Static variable in class jess.RU
Data type of integer array stored in value (internal use)
intArrayValue(Context) - Method in class jess.Value
Returns the contents of this value, as an int[]
INTEGER - Static variable in class jess.RU
Data type of integer
intValue(Context) - Method in class jess.Value
Returns the contents of this value, as an int
intValue(Context) - Method in class jess.FuncallValue
 
intValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as an int
isInactive() - Method in class jess.Activation
Returns true if this activation is live, or false if it's been cancelled.
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.

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, 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.

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
 
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.
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.
listJessListeners() - Method in class jess.Rete
 
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.FuncallValue
 
listValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as a list

M

m_factIndex - Variable in class jess.Binding
The fact within a token where this variable should be loaded from.
m_name - Variable in class jess.Binding
The name of the variable.
m_slotIndex - Variable in class jess.Binding
The slot within a fact where this variable should be loaded from.
m_subIndex - Variable in class jess.Binding
The subslot within a slot where this variable should be loaded from.
m_type - Variable in class jess.Binding
The type of the variable
m_usecount - Variable in class jess.Node
How many rules use me?
m_val - Variable in class jess.Binding
The value of the variable
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 fucntions for Jess.
MathFunctions() - Constructor for class jess.MathFunctions
 
MiscFunctions - class jess.MiscFunctions.
Some miscellaneous functions.
MiscFunctions() - Constructor for class jess.MiscFunctions
 
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.
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.FuncallValue
 
numericValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as a float

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 elemebnt on a rule LHS.
Pattern(String, Rete, int) - Constructor for class jess.Pattern
Constructor.
ppFacts() - Method in class jess.Rete
 
ppFacts(String) - Method in class jess.Rete
Return the pretty print forms of all facts, as a big string
PredFunctions - class jess.PredFunctions.
Predicate functions (is X of type Y?).
PredFunctions() - Constructor for class jess.PredFunctions
 
processPendingFacts() - Method in class jess.Rete
DONT call this - it's going to be package-private soon.

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
 
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.DumpFunctions
Remove a listener that no longer wants to know when a bload/bsave has occurred.
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.
resolveValue(Context) - Method in class jess.Value
Given an evaluation context, return the "true value" of this Value.
resolveValue(Context) - Method in class jess.FuncallValue
 
resolveValue(Context) - Method in class jess.Variable
Will resolve the variable (return the value it represents.)
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
Constructors
Rete(Applet) - Constructor for class jess.Rete
 
retract(Fact) - Method in class jess.Rete
Retract a fact.
retract(int) - Method in class jess.Rete
Retract a fact by ID, used by rule RHSs.
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.
RU.Compare - interface jess.RU.Compare.
A helper interface used by RU.bsearchVector.
RU.Fetch - interface jess.RU.Fetch.
A helper interface used by RU.bsearchVector.
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
 

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
 
setFactDuplication(boolean) - Method in class jess.Rete
Turn fact-duplication on or off.
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.
setMultislotLength(String, int) - Method in class jess.Pattern
set the length of a multislot within a pattern
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
setSlotValue(String, Value) - Method in class jess.Fact
Set the value in the named slot.
setStrategy(Strategy) - Method in class jess.Rete
 
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 Copyright (C) 1998 E.J.
size() - 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
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.FuncallValue
 
stringValue(Context) - Method in class jess.Variable
Resolves the variable, then returns the value as a string
succ() - Method in class jess.Node
 

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.
topFact() - Method in class jess.Token
Return the last fact in the Token (the "most recent" one.)
toString() - Method in class jess.Pattern
Describe myself
toString() - Method in class jess.JessEvent
Return a string suitable for debugging.
toString() - Method in class jess.ValueVector
Return a String version of this ValueVector, without parentheses.
toString() - Method in class jess.Fact
Pretty-print this fact into a String.
toString() - Method in class jess.Binding
Produce a string representation of this object for debugging.
toString() - Method in class jess.Value
Pretty-print this value, without adding parens to any lists
toString() - Method in class jess.Funcall
Formats a Funcall as a String
toString() - Method in class jess.Defglobal
Describe myself
toString() - Method in class jess.Deffunction
Describe myself
toString() - Method in class jess.Defrule
Pretty-print this rule.
toString() - Method in class jess.Defquery
Pretty-print this rule.
toString() - Method in class jess.Deffacts
Describe myself
toString() - Method in class jess.JessException
Returns a String representation of this JessException.
toString() - Method in class jess.Context
 
toString() - Method in class jess.Deftemplate
Turn this deftemplate into a String
toString() - Method in class jess.Activation
Produce a string representation of this Activation for use in debugging.
toString() - Method in class jess.Token
Return a string (useful for debugging) describing this token.
toString() - Method in class jess.Test1
 
toStringWithParens() - Method in class jess.ValueVector
Return a String version of this ValueVector, with parentheses around all ValueVectors.
toStringWithParens() - Method in class jess.Fact
 
toStringWithParens() - Method in class jess.Value
Pretty-print this value, adding parens to any lists
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

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.FuncallValue
 
variableValue(Context) - Method in class jess.Variable
Returns the name of this variable
ViewFunctions - class jess.ViewFunctions.
A nifty graphical Rete Network viewer for Jess.
ViewFunctions() - Constructor for class jess.ViewFunctions
 

W

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
© 1997 E.J. Friedman-Hill and Sandia Corporation