|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nrc.fuzzy.FuzzySet | +--nrc.fuzzy.LRFuzzySet | +--nrc.fuzzy.TrapezoidFuzzySet | +--nrc.fuzzy.RectangleFuzzySet
Used to build specialized FuzzySets that have a rectangle shape.
The diagram below shows a RectangleFuzzySet.
Note that the Constructors have been defined to make the generation of
such curves as simple as possible. Only 2 points are required to define
the rectangle shape.
This is a specialization of the TrapezoidFuzzySet where the left and right shapes are vertical lines (oneLeftX equals zeroLeftX and oneRightX equals zeroRightX).
FuzzySet
,
LRFuzzySet
,
TrapezoidFuzzySet
,
Serialized FormNested 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 | |
RectangleFuzzySet(double leftX,
double rightX)
Generate a FuzzySet with an rectangle shape. |
Methods inherited from class nrc.fuzzy.LRFuzzySet |
checkParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RectangleFuzzySet(double leftX, double rightX) throws XValuesOutOfOrderException
leftX
- the left x position of the rectanglerightX
- the right x position of the rectangle
XValuesOutOfOrderException
- if the x values are not in correct increasing order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |