rule
Class FuzzyDefs

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

public class FuzzyDefs
extends java.lang.Object

The FuzzyDefs class contains constants for the FuzzyRule classes.


Field Summary
static double AlphaCutDefault
          This is the default value used for alphacut when no explicit alphacut has been set.
static int CENTROID
          Defuzzification method.
(package private) static int ContinuousVariable
           
static int CorrelationMethodDefault
          Correlation method.
static int DefuzzifyMethodDefault
          Defuzzification method.
static int FUZZYADD
          Inference (implication) method: FuzzyAdd: also known as bounded add; the minimum of 1 and the sum of the membership values: minimum( 1, a[i]+b[i] ) Usually used with Product correlation method.
(package private) static int FuzzySet
           
static char HedgeExtremely
          Concentrate (3) any fuzzy set.
static char HedgeNull
          Ignored hedge, can be used as a place holder in a hedge string.
static char HedgeSlightly
          Dilute (0.3) any fuzzy set.
static char HedgeSomewhat
          Dilute (0.5) any fuzzy set.
static char HedgeVery
          Concentrate (2) any fuzzy set.
static int InferenceMethodDefault
          Inference method.
static int LEFT
          Fuzzy set direction for shoulder sets.
static int MAXHEIGHT
          Defuzzification method.
static int MAXVALUES
          The maximum number of scalars and truth values that can be held in a fuzzy set.
static int MINIMISE
          Correlation method: Minimise: truncate the consequent fuzzy region at the truth of the premise (creating a plateau): a[i] = minimum( a[i], PredicateTruth ) Usually used with MinMax Inference method.
static int MINMAX
          Inference (implication) method: MinMax: the maximum (of the minimum) membership values: maximum( a[i], b[i] ) Almost always used with Minimise correlation method.
static int PRODUCT
          Correlation method: Product: scale the consequent fuzzy region using the truth of the predicate (the shape of the fuzzy region is preserved): a[i] = a[i] * PredicateTruth Usually used with ProductOr or FuzzyAdd Inference method.
static int RIGHT
          Fuzzy set direction for shoulder sets.
(package private) static int RuleIdInitial
           
(package private) static int SHOULDER
           
(package private) static java.lang.String SymbolNull
           
(package private) static int TRAPEZOID
           
(package private) static int TRIANGLE
           
(package private) static int VarIdInitial
           
(package private) static int VarIdNull
           
(package private) static int WORK
           
 
Method Summary
(package private) static java.lang.String CorrelationMethod(int item)
          Retrieves the CorrelationMethod string.
(package private) static java.lang.String DataType(int item)
          Retrieves the DataType string.
(package private) static java.lang.String DefuzzifyMethod(int item)
          Retrieves the DefuzzifyMethod string.
(package private) static java.lang.String Hedge(char item)
          Retrieves the Hedge string.
(package private) static java.lang.String InferenceMethod(int item)
          Retrieves the InferenceMethod string.
(package private) static java.lang.String SetDirection(int item)
          Retrieves the Set direction string.
(package private) static java.lang.String SetType(int item)
          Retrieves the SetType string.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAXVALUES

public static final int MAXVALUES
The maximum number of scalars and truth values that can be held in a fuzzy set.

AlphaCutDefault

public static final double AlphaCutDefault
This is the default value used for alphacut when no explicit alphacut has been set. In this implementation, the default is set to 0.10.

PRODUCT

public static final int PRODUCT
Correlation method: Product: scale the consequent fuzzy region using the truth of the predicate (the shape of the fuzzy region is preserved):
     a[i] = a[i] * PredicateTruth
 

Usually used with ProductOr or FuzzyAdd Inference method.


MINIMISE

public static final int MINIMISE
Correlation method: Minimise: truncate the consequent fuzzy region at the truth of the premise (creating a plateau):
     a[i] = minimum( a[i], PredicateTruth )
 

Usually used with MinMax Inference method.


CorrelationMethodDefault

public static final int CorrelationMethodDefault
Correlation method. The value of this constant specifies the correlation method used when the correlation method is not explicitly set by the user.

In this implementation, the default is set to Product.


CENTROID

public static final int CENTROID
Defuzzification method.

MAXHEIGHT

public static final int MAXHEIGHT
Defuzzification method.

DefuzzifyMethodDefault

public static final int DefuzzifyMethodDefault
Defuzzification method. The value of this constant specifies the defuzzification method used when the defuzzification method is not explicitly set by the user.

In this implementation, the default is set to Centroid.


FUZZYADD

public static final int FUZZYADD
Inference (implication) method: FuzzyAdd: also known as bounded add; the minimum of 1 and the sum of the membership values:
     minimum( 1, a[i]+b[i] )
 

Usually used with Product correlation method.


MINMAX

public static final int MINMAX
Inference (implication) method: MinMax: the maximum (of the minimum) membership values:
     maximum( a[i], b[i] )
 

Almost always used with Minimise correlation method.


InferenceMethodDefault

public static final int InferenceMethodDefault
Inference method. The value of this constant specifies the inference method used when the inference method is not explicitly set by the user.

In this implementation, the default is set to FuzzyAdd.


LEFT

public static final int LEFT
Fuzzy set direction for shoulder sets.

RIGHT

public static final int RIGHT
Fuzzy set direction for shoulder sets.

HedgeNull

public static final char HedgeNull
Ignored hedge, can be used as a place holder in a hedge string.

HedgeExtremely

public static final char HedgeExtremely
Concentrate (3) any fuzzy set.

HedgeSlightly

public static final char HedgeSlightly
Dilute (0.3) any fuzzy set.

HedgeSomewhat

public static final char HedgeSomewhat
Dilute (0.5) any fuzzy set.

HedgeVery

public static final char HedgeVery
Concentrate (2) any fuzzy set.

SHOULDER

static final int SHOULDER

TRAPEZOID

static final int TRAPEZOID

TRIANGLE

static final int TRIANGLE

WORK

static final int WORK

ContinuousVariable

static final int ContinuousVariable

FuzzySet

static final int FuzzySet

RuleIdInitial

static final int RuleIdInitial

VarIdInitial

static final int VarIdInitial

VarIdNull

static final int VarIdNull

SymbolNull

static final java.lang.String SymbolNull
Method Detail

CorrelationMethod

static final java.lang.String CorrelationMethod(int item)
Retrieves the CorrelationMethod string.
Parameters:
item - the integer tha represents the correlation method
Returns:
the String object that represents the correlation method

DefuzzifyMethod

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

InferenceMethod

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

Hedge

static final java.lang.String Hedge(char item)
Retrieves the Hedge string.
Parameters:
item - the char that represents the hedge
Returns:
the String object that represents the hedge value

SetDirection

static final java.lang.String SetDirection(int item)
Retrieves the Set direction string.
Parameters:
item - the integer that represents the set direction
Returns:
the String object that represents the set direction

SetType

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

DataType

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