nrc.fuzzy.jess
Class FuzzyFunctions

java.lang.Object
  |
  +--nrc.fuzzy.jess.FuzzyFunctions
All Implemented Interfaces:
jess.Userpackage

public class FuzzyFunctions
extends java.lang.Object
implements jess.Userpackage

User-defined functions for fuzzy reasoning with Jess.

To use one of these functions from your programs, simply register the package class in your Java mainline:

    engine.addUserpackage(new nrc.fuzzy.jess.FuzzyFunctions());
 
and use the FuzzyRete object instead of the Rete object (as is done in the FuzzyMain and FuzzyConsole classes).

The functions included in this package are (for details see the FuzzyJ User Guide):
(fuzzy-match FuzzyValue1 FuzzyValue2)
(fuzzy-rule-similarity)
(fuzzy-rule-match-score)
(set-fuzzy-global-contribution-operator operator)
(get-fuzzy-global-contribution-operator)
(set-default-fuzzy-rule-executor executor)
(get-default-fuzzy-rule-executor)
(set-default-antecedent-combine-operator operator)
(get-default-antecedent-combine-operator)

See Also:
FuzzyMain, FuzzyRete, FuzzyConsole

Nested Class Summary
 class FuzzyFunctions.FuzzyMatch
          Userfunction class:
 class FuzzyFunctions.FuzzyRuleMatchScore
          Userfunction class:
 class FuzzyFunctions.FuzzyRuleSimilarity
          Userfunction class:
 class FuzzyFunctions.getDefaultAntecedentCombineOperator
          Userfunction class:
 class FuzzyFunctions.getDefaultFuzzyRuleExecutor
          Userfunction class:
 class FuzzyFunctions.getFuzzyGlobalContributionOperator
          Userfunction class:
 class FuzzyFunctions.setDefaultAntecedentCombineOperator
          Userfunction class:
 class FuzzyFunctions.setDefaultFuzzyRuleExecutor
          Userfunction class:
 class FuzzyFunctions.setFuzzyGlobalContributionOperator
          Userfunction class:
 
Constructor Summary
FuzzyFunctions()
           
 
Method Summary
 void add(jess.Rete engine)
          Called by a Rete object when you add this to an engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzyFunctions

public FuzzyFunctions()
Method Detail

add

public void add(jess.Rete engine)
Called by a Rete object when you add this to an engine.

Specified by:
add in interface jess.Userpackage