rule
Class FuzzyOperator

java.lang.Object
  |
  +--rule.FuzzyOperator

public class FuzzyOperator
extends java.lang.Object

This class defines the "Fuzzy Operator" class.


Field Summary
static int AsgnIs
          Fuzzy assignment (Is).
static int CmpIs
          Fuzzy equal to (Is).
 
Method Summary
(package private) static void asgnIs(FuzzyRuleVariable lhs, FuzzySet rhs)
          Assigns the rhs fuzzy set to the lhs fuzzy rule variable.
(package private) static void asgnIs(FuzzyRuleVariable lhs, FuzzySet rhs, double truthValue)
          Assigns the rhs fuzzy set to the lhs fuzzy rule variable with a truth value.
(package private) static double cmpIs(FuzzyRuleVariable lhs, FuzzySet rhs)
          Determines membership of a variable in a fuzzy set.
(package private) static java.lang.String Operator(int item)
          Retrieves the Operator string.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AsgnIs

public static final int AsgnIs
Fuzzy assignment (Is).

CmpIs

public static final int CmpIs
Fuzzy equal to (Is).
Method Detail

Operator

static final java.lang.String Operator(int item)
Retrieves the Operator string.
Parameters:
item - the integer that represents the operator
Returns:
the String object that represents the operator

asgnIs

static void asgnIs(FuzzyRuleVariable lhs,
                   FuzzySet rhs)
Assigns the rhs fuzzy set to the lhs fuzzy rule variable.
Parameters:
lhs - the FuzzyRuleVariable object that is the lhs variable
rhs - the FuzzySet object that is the rhs value

asgnIs

static void asgnIs(FuzzyRuleVariable lhs,
                   FuzzySet rhs,
                   double truthValue)
Assigns the rhs fuzzy set to the lhs fuzzy rule variable with a truth value.
Parameters:
lhs - the FuzzyRuleVariable object that is the lhs variable
rhs - the FuzzySet object that is the rhs value
truthValue - the double truth value

cmpIs

static double cmpIs(FuzzyRuleVariable lhs,
                    FuzzySet rhs)
Determines membership of a variable in a fuzzy set.
Parameters:
lhs - the FuzzyRuleVariable object whose membership is checked
rhs - the FuzzySet object in which the variable membership is checked
Returns:
the double membership value