ABLE, Version 1.1b

com.ibm.able.beans.fuzzy
Class Fs

java.lang.Object
  |
  +--com.ibm.able.beans.fuzzy.Fs

public class Fs
extends java.lang.Object
implements java.io.Serializable

This class contains constants for the Fuzzy System (Fs).

Version:
$Revision: 1.7 $, $Date: 2000/06/05 18:25:09 $
See Also:
Serialized Form

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.
static int CorrelationMethodDefault
          Correlation method.
static int DefuzzifyMethodDefault
          Defuzzification method.
static int Down
          Fuzzy set direction for linear and sigmoid sets.
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.
static char HedgeAbout
          Approximation (2.0) on bell-shaped fuzzy sets.
static char HedgeAbove
          Restrict decreasing directional or bell-shaped fuzzy sets.
static char HedgeBelow
          Restrict increasing directional or bell-shaped fuzzy sets.
static char HedgeCloseTo
          Narrow approximation (1.2) on bell-shaped fuzzy sets.
static char HedgeExtremely
          Concentrate (3) any fuzzy set.
static char HedgeGenerally
          Diffuse (**0.5) any fuzzy set.
static char HedgeInVicinityOf
          Broad approximation (4.0) on bell-shaped fuzzy sets.
static char HedgeNot
          Complement any fuzzy set.
static char HedgeNull
          Ignored hedge, can be used as a place holder in a hedge string.
static char HedgePositively
          Intensify (**2) any fuzzy set.
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 com.ibm.able.beans.fuzzy.FsPreferences Preferences
          The current set of preferences.
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 ProductOr
          Inference (implication) method: ProductOr: 1 - ( (1-a[i]) * (1-b[i]) ) Usually used with Product correlation method.
static int Right
          Fuzzy set direction for shoulder sets.
static int Up
          Fuzzy set direction for linear and sigmoid sets.
static int ValueTypeBoolean
          Data type; the data string represents a boolean value, either "true" or "false".
static int ValueTypeCallName
          Data type; the data string represents the name of a sensor or an effector.
static int ValueTypeName
          Data type; the data string represents the name of a variable.
static int ValueTypeNumber
          Data type; the data string represents a literal number.
static int ValueTypeSetName
          Data type; the data string represents the name of a fuzzy set.
static int ValueTypeUnknown
          Data type.
 
Method Summary
static java.lang.String Copyright()
          Determine the copyright of this class.
static java.lang.String NlsMsg(int theMsgId)
          Retrieve an NLS message by key.
static java.lang.String NlsMsg(int theMsgId, java.lang.Object[] theInserts)
          Retrieve an NLS message by key and insert text into the message.
 
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.
See Also:
FsRuleSet.addSegmentsSetToContinuousVariable(java.lang.String, java.lang.String, double, int, double[], double[])

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.

See Also:
FsRuleSet.setAlphaCut(double)

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.

See Also:
FsRuleSet.setCorrelationMethod(int)

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.

See Also:
FsRuleSet.setCorrelationMethod(int)

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.

See Also:
FsRuleSet.setCorrelationMethod(int)

Centroid

public static final int Centroid
Defuzzification method.
See Also:
FsRuleSet.setDefuzzifyMethod(int)

MaxHeight

public static final int MaxHeight
Defuzzification method.
See Also:
FsRuleSet.setDefuzzifyMethod(int)

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.

See Also:
FsRuleSet.setDefuzzifyMethod(int)

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.

See Also:
FsRuleSet.setInferenceMethod(int)

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.

See Also:
FsRuleSet.setInferenceMethod(int)

ProductOr

public static final int ProductOr
Inference (implication) method: ProductOr:
     1 - ( (1-a[i]) * (1-b[i]) )
 

Usually used with Product correlation method.

See Also:
FsRuleSet.setInferenceMethod(int)

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.

See Also:
FsRuleSet.setInferenceMethod(int)

Up

public static final int Up
Fuzzy set direction for linear and sigmoid sets.
See Also:
FsRuleSet.addLinearSetToContinuousVariable(java.lang.String, java.lang.String, double, double, double, int), FsRuleSet.addSigmoidSetToContinuousVariable(java.lang.String, java.lang.String, double, double, double, double, int)

Down

public static final int Down
Fuzzy set direction for linear and sigmoid sets.
See Also:
FsRuleSet.addLinearSetToContinuousVariable(java.lang.String, java.lang.String, double, double, double, int), FsRuleSet.addSigmoidSetToContinuousVariable(java.lang.String, java.lang.String, double, double, double, double, int)

Left

public static final int Left
Fuzzy set direction for shoulder sets.
See Also:
FsRuleSet.addShoulderSetToContinuousVariable(java.lang.String, java.lang.String, double, double, double, int)

Right

public static final int Right
Fuzzy set direction for shoulder sets.
See Also:
FsRuleSet.addShoulderSetToContinuousVariable(java.lang.String, java.lang.String, double, double, double, int)

ValueTypeUnknown

public static final int ValueTypeUnknown
Data type.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

ValueTypeBoolean

public static final int ValueTypeBoolean
Data type; the data string represents a boolean value, either "true" or "false".
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

ValueTypeName

public static final int ValueTypeName
Data type; the data string represents the name of a variable.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

ValueTypeNumber

public static final int ValueTypeNumber
Data type; the data string represents a literal number.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

ValueTypeSetName

public static final int ValueTypeSetName
Data type; the data string represents the name of a fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

ValueTypeCallName

public static final int ValueTypeCallName
Data type; the data string represents the name of a sensor or an effector.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeNull

public static final char HedgeNull
Ignored hedge, can be used as a place holder in a hedge string.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeAbout

public static final char HedgeAbout
Approximation (2.0) on bell-shaped fuzzy sets.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeAbove

public static final char HedgeAbove
Restrict decreasing directional or bell-shaped fuzzy sets.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeBelow

public static final char HedgeBelow
Restrict increasing directional or bell-shaped fuzzy sets.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeCloseTo

public static final char HedgeCloseTo
Narrow approximation (1.2) on bell-shaped fuzzy sets.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeExtremely

public static final char HedgeExtremely
Concentrate (3) any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeGenerally

public static final char HedgeGenerally
Diffuse (**0.5) any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeInVicinityOf

public static final char HedgeInVicinityOf
Broad approximation (4.0) on bell-shaped fuzzy sets.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeNot

public static final char HedgeNot
Complement any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgePositively

public static final char HedgePositively
Intensify (**2) any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeSlightly

public static final char HedgeSlightly
Dilute (0.3) any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeSomewhat

public static final char HedgeSomewhat
Dilute (0.5) any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

HedgeVery

public static final char HedgeVery
Concentrate (2) any fuzzy set.
See Also:
FsRuleSet.makeUnconditionalRule(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector), FsRuleSet.addAntecedentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, double, java.util.Vector), FsRuleSet.addConsequentToRule(java.lang.Integer, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, int, java.util.Vector)

Preferences

public static final com.ibm.able.beans.fuzzy.FsPreferences Preferences
The current set of preferences.
Method Detail

NlsMsg

public static java.lang.String NlsMsg(int theMsgId)
Retrieve an NLS message by key. The message must not contain any insertion text.
Parameters:
theMsgId - A unique key identifying the message to be retrieved from the package's MessageBundle.

Returns:
A String containing the requested message.


NlsMsg

public static java.lang.String NlsMsg(int theMsgId,
                                      java.lang.Object[] theInserts)
Retrieve an NLS message by key and insert text into the message.
Parameters:
theMsgId - A unique key identifying the message to be retrieved from the package's MessageBundle.

theInserts - An array of String objects which will be inserted into the message before it is returned.

Returns:
A String containing the requested message.


Copyright

public static java.lang.String Copyright()
Determine the copyright of this class.
Returns:
A String containing this class's copyright statement.

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'