|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--jess.Rete
|
+--nrc.fuzzy.jess.FuzzyRete
The reasoning engine, extended to support fuzzy reasoning. Executes the built Rete network, and coordinates many other activities.
| Field Summary |
| Fields inherited from class jess.Rete |
ACTIVATE, EVERY_TIME, INSTALL |
| Constructor Summary | |
FuzzyRete()
|
|
FuzzyRete(java.applet.Applet a)
|
|
| Method Summary | |
protected void |
aboutToFire(jess.Activation a)
Records the current activation during a rule firing. |
int |
doPreAssertionProcessing(jess.Fact f)
Special preprocessing when asserting a fact with fuzzy values in it. |
protected jess.Activation |
getCurrentActivation()
Get the current rule activation. |
nrc.fuzzy.FuzzyRule |
getCurrentActivationFuzzyRule()
Get the current FuzzyRule in the activation. |
nrc.fuzzy.jess.GlobalContributionOperator |
getFuzzyGlobalContributionOperator()
Gets the current GlobalContributionOperator object that implements the execute method to do global contribution. |
java.util.Vector |
getFuzzyMatchesInActivation(jess.Activation a)
Finds any Fuzzy matches (antecedent/input pairs) that were made on the LHS of the rule. |
protected void |
justFired(jess.Activation a)
Clears the current activation when a rule finishes firing. |
boolean |
setFuzzyGlobalContributionOperator(nrc.fuzzy.jess.GlobalContributionOperator op)
Sets the type of global contribution to do. |
| Methods inherited from class jess.Rete |
add, addAll, addAll, addDebugListener, addDeffacts, addDefglobal, addDefglobals, addDefmodule, addDefmodule, addDefmodule, addDefrule, addDeftemplate, addInputRouter, addJessListener, addOutputRouter, addUserfunction, addUserpackage, assertFact, assertFact, assertString, assertString, batch, bload, bsave, clear, clearFocusStack, clearStorage, containsObject, countQueryResults, countQueryResults, createDeftemplate, defclass, defclass, defineFeature, definstance, definstance, eval, eval, eventHappened, executeCommand, executeCommand, fetch, findClass, findDeffacts, findDefglobal, findDefrule, findDeftemplate, findFactByFact, findFactByID, findUserfunction, getActivationSemaphore, getApplet, getAppObjectClass, getClassLoader, getCurrentModule, getErrStream, getEvalSalience, getEventMask, getFactory, getFocus, getGlobalContext, getInputMode, getInputRouter, getObjects, getOutputRouter, getOutStream, getResetGlobals, getResource, getStrategy, getSupportedFacts, getSupportingTokens, getThisActivation, getThisRuleName, halt, importClass, importPackage, isDebug, isFeatureDefined, isHalted, javaClassForDefclass, listActivations, listActivations, listDebugListeners, listDefclasses, listDeffacts, listDefglobals, listDefinstances, listDefrules, listDeftemplates, listFacts, listFocusStack, listFunctions, listJessListeners, listModules, lookupFunction, mark, modify, modify, modify, modify, peekNextActivation, popFocus, ppFacts, ppFacts, recordFunction, recordFunction, removeDebugListener, removeInputRouter, removeJessListener, removeOutputRouter, removeUserDefinedFunctions, removeUserfunction, reset, resetToMark, resolveName, retract, retractString, run, run, runQuery, runQuery, runQueryStar, runQueryStar, runUntilHalt, setApplet, setAppObject, setClassLoader, setCurrentModule, setDebug, setEvalSalience, setEventMask, setFactory, setFocus, setPassiveMode, setPendingFact, setResetGlobals, setStrategy, setWatchRouter, store, store, toString, unDeffacts, undefinstance, unDefrule, unwatch, unwatchAll, updateObject, updateObject, verifyModule, waitForActivations, watch, watchAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FuzzyRete()
public FuzzyRete(java.applet.Applet a)
a - | Method Detail |
public java.util.Vector getFuzzyMatchesInActivation(jess.Activation a)
a - The rule activation to be searched for Fuzzy matches.
public int doPreAssertionProcessing(jess.Fact f)
throws jess.JessException
doPreAssertionProcessing in class jess.Retef - the fact being asserted
jess.JessExceptionprotected jess.Activation getCurrentActivation()
public nrc.fuzzy.FuzzyRule getCurrentActivationFuzzyRule()
protected void aboutToFire(jess.Activation a)
aboutToFire in class jess.Reteprotected void justFired(jess.Activation a)
justFired in class jess.Retepublic boolean setFuzzyGlobalContributionOperator(nrc.fuzzy.jess.GlobalContributionOperator op)
op - the GlobalContributionOperator that provides the
required execute method to combine the new and existing
fuzzy values when global contribution is being done.
public nrc.fuzzy.jess.GlobalContributionOperator getFuzzyGlobalContributionOperator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||