nrc.fuzzy
Class RightLinearFuzzySet

java.lang.Object
  |
  +--nrc.fuzzy.FuzzySet
        |
        +--nrc.fuzzy.RFuzzySet
              |
              +--nrc.fuzzy.RightLinearFuzzySet
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class RightLinearFuzzySet
extends RFuzzySet
implements java.io.Serializable

Used to build specialized RFuzzySets that have a straight line from the 1 value at the upper left edge to the 0 value at the lower right edge. The diagram below shows a RightLinearFuzzySet.



See Also:
FuzzySet, RFuzzySet, RightLinearFunction, Serialized Form

Nested Class Summary
 
Nested classes inherited from class nrc.fuzzy.FuzzySet
FuzzySet.UITools
 
Field Summary
 
Fields inherited from class nrc.fuzzy.FuzzySet
BFALSE, BTRUE, COLLINEAR_OR_PARALLEL, INCREMENT, INTERSECTION, MAX_INITIAL_POINTS, MAXMIN, NO_INTERSECTION, numPoints, set, simplified, SUM, tool, toStringPrecision, UNION
 
Constructor Summary
RightLinearFuzzySet(double leftEdge, double rightEdge)
          Generate an RFuzzySet with a straight line from upper left to lower right.
 
Methods inherited from class nrc.fuzzy.RFuzzySet
checkParameters
 
Methods inherited from class nrc.fuzzy.FuzzySet
appendSetPoint, appendSetPoint, centerOfAreaDefuzzify, checkXValueOrder, checkYValueRange, concat, concat, confineToXBounds, copyFuzzySet, equals, findMaxYOverlapValue, fuzzyComplement, fuzzyEqual, fuzzyIntersection, fuzzyIntersection, fuzzyIntersectionUnion, fuzzyNormalize, fuzzyScale, fuzzySum, fuzzySum, fuzzyUnion, fuzzyUnion, getAlphaCut, getArea, getArea, getMaxY, getMembership, getMinY, getPoint, getSupport, getUITools, getX, getXforMembership, getY, goingDown, goingUp, horizontalIntersection, horizontalIntersectionUnion, horizontalUnion, incrementArrayLength, incrementArrayLength, insertSetPoint, insertSetPoint, isConvex, isEmpty, isNormal, isSimplified, maximumDefuzzify, maximumOfIntersection, maximumOfIntersection, momentDefuzzify, noIntersectionTest, nonIntersectionTest, plotFuzzySet, plotFuzzySets, removeSetPoint, removeSetPoint, sameDirection, sameSign, setToStringPrecision, shiftArrayLeft, shiftArrayRight, simplifySet, size, testArrayLength, toString, trimToSize, weightedAverageDefuzzify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RightLinearFuzzySet

public RightLinearFuzzySet(double leftEdge,
                           double rightEdge)
                    throws XValuesOutOfOrderException
Generate an RFuzzySet with a straight line from upper left to lower right.

Parameters:
leftEdge - the start of the straight line at the left with a membership value of 1
rightEdge - the end of the straight line at the right with a membership value of 0
Throws:
XValuesOutOfOrderException - if the leftEdge argument is less than the rightEdge argument