nrc.fuzzy
Class IntensifyModifier

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

public class IntensifyModifier
extends ModifierFunction
implements java.io.Serializable

Concrete implementaion of the intensify modifier. Consider the following example:

Description Visual Representation
Unmodified fuzzy value:
  • this is the unmodified fuzzy value to which the modifier is applied.
After intensify modifier applied:
  • the INTENSIFY modifier returns the expanded FuzzyValue passed as its argument, having having performed the following modifications on it:
    • if (0.0 <= y <= 0.5), y = 2*y2
    • if (0.5 < y <= 1.0), y = 1 - 2*(1-y)2
    The has the effect of emphasizing the sections of the FuzzyValue that have a membership value greater than 0.5, and understating any sections of the FuzzyValue with a membership value less than or equal to 0.5.

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
IntensifyModifier()
           
IntensifyModifier(java.lang.String s)
           
 
Method Summary
 nrc.fuzzy.FuzzySet call(nrc.fuzzy.FuzzySet a)
          Returns a new FuzzySet object which represents the FuzzySet argument after the application of the intensify modifier.
 nrc.fuzzy.FuzzyValue call(nrc.fuzzy.FuzzyValue fv)
          Returns a new FuzzyValue object which represents the FuzzyValue argument after the application of the intensify modifier.
 
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

IntensifyModifier

public IntensifyModifier()

IntensifyModifier

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

call

public nrc.fuzzy.FuzzyValue call(nrc.fuzzy.FuzzyValue fv)
Returns a new FuzzyValue object which represents the FuzzyValue argument after the application of the intensify modifier. The intensify modifier uses the following rules for application of modifiers and operators: Where y is the membership value of each point of the FuzzyValue.

Specified by:
call in class ModifierFunction
Parameters:
fv - the FuzzyValue to modify with the intensify hedge
Returns:
a new FuzzyValue object representing FuzzyValue argument after the application of the intensify hedge. This new FuzzyValue object has the same FuzzyVariable as the FuzzyValue argument.
See Also:
ModifierFunction

call

public nrc.fuzzy.FuzzySet call(nrc.fuzzy.FuzzySet a)
Returns a new FuzzySet object which represents the FuzzySet argument after the application of the intensify modifier. The intensify modifier uses the following rules for application of modifiers and operators: Where y is the membership value of each point of the FuzzySet.

Specified by:
call in class ModifierFunction
Parameters:
a - the fuzzy set to be modified
Returns:
a new FuzzySet object representing FuzzySet argument after the application of the intensify hedge.
See Also:
ModifierFunction