nrc.fuzzy
Class BelowModifier

java.lang.Object
  |
  +--nrc.fuzzy.ModifierFunction
        |
        +--nrc.fuzzy.BelowModifier
All Implemented Interfaces:
java.io.Serializable

public class BelowModifier
extends ModifierFunction
implements java.io.Serializable

Concrete implementation of the below modifier. Consider the following example:

Description Visual Representation
Unmodified fuzzy value:
  • this is the unmodified fuzzy value to which the modifier is applied.
After Below modifier applied:
  • the BELOW modifier identifies the first x value at which the maximum value is reached. All membership values above this point are set to zero and all membership values below this value are set to 1-y. For convex fuzzy sets this gives an intuitive result.

See Also:
ModifierFunction, Modifiers, Serialized Form

Field Summary
 
Fields inherited from class nrc.fuzzy.ModifierFunction
DELTA_X, DELTA_Y, deltaX, deltaY, NUMBER_OF_POINTS, numberOfPoints, precisionControlType
 
Constructor Summary
BelowModifier()
           
BelowModifier(java.lang.String s)
           
 
Method Summary
 nrc.fuzzy.FuzzySet call(nrc.fuzzy.FuzzySet a)
          Creates a new FuzzySet by applying the below modifier to an existing FuzzySet.
 nrc.fuzzy.FuzzyValue call(nrc.fuzzy.FuzzyValue fv)
          Creates a new FuzzyValue by applying the below modifier to an existing FuzzyValue.
 
Methods inherited from class nrc.fuzzy.ModifierFunction
concentrateDilute, expandSet, getName, setDeltaXPrecision, setDeltaYPrecision, setNumberOfPointsPrecision, setPrecisionControlType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BelowModifier

public BelowModifier()

BelowModifier

public BelowModifier(java.lang.String s)
Method Detail

call

public nrc.fuzzy.FuzzyValue call(nrc.fuzzy.FuzzyValue fv)
Creates a new FuzzyValue by applying the below modifier to an existing FuzzyValue. Below identifies the first x value at which the maximum value is reached. All membership values above this point are set to zero and all membership values below this value are set to 1-y. For convex fuzzy sets this gives an intuitive result.

Specified by:
call in class ModifierFunction
Parameters:
fv - the fuzzy value to which the below modifier is applied.
See Also:
ModifierFunction

call

public nrc.fuzzy.FuzzySet call(nrc.fuzzy.FuzzySet a)
Creates a new FuzzySet by applying the below modifier to an existing FuzzySet. Below identifies the first x value at which the maximum value is reached. All membership values above this point are set to zero and all membership values below this value are set to 1-y. For convex fuzzy sets this gives an intuitive result.

Specified by:
call in class ModifierFunction
Parameters:
a - the fuzzy set to be modified
See Also:
ModifierFunction