nrc.fuzzy
Class VeryModifier

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

public class VeryModifier
extends ModifierFunction
implements java.io.Serializable

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

Description Visual Representation
Unmodified fuzzy value:
  • this is the unmodified fuzzy value to which the modifier is applied.
After very modifier applied:
  • the VERY modifier returns the expanded fuzzy value passed as its argument, having raised all the membership values of the fuzzy value by a factor of 2.

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
VeryModifier()
           
VeryModifier(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 very modifier.
 nrc.fuzzy.FuzzyValue call(nrc.fuzzy.FuzzyValue fv)
          Returns a new FuzzyValue object which represents the FuzzyValue argument after the application of the very 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

VeryModifier

public VeryModifier()

VeryModifier

public VeryModifier(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 very modifier. The very modifier raises the membership values of the points in the FuzzyValue to a power of 2.

Specified by:
call in class ModifierFunction
Parameters:
fv - the FuzzyValue to modify with the very hedge
Returns:
a new FuzzyValue object representing FuzzyValue argument after the application of the very 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 very modifier. The very modifier raises the membership values of the points in the FuzzySet to a power of 2.

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 very hedge.
See Also:
ModifierFunction