|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nrc.fuzzy.FuzzySet | +--nrc.fuzzy.RFuzzySet | +--nrc.fuzzy.ZFuzzySet
Used to build specialized FuzzySets that in have a shape similar to
the character Z with a 1 at the left edge and 0 at the right edge.
The diagram below shows an ZFuzzySet.
Note that the Constructors have been defined to make the generation of
such curves as simple as possible. Only the left and right edges of the
curve need be specified (with an optional constructor that allows the number of
points on the curve approximation to be specified if necessary).
FuzzySet
,
RFuzzySet
,
ZFunction
,
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 | |
ZFuzzySet(double leftEdge,
double rightEdge)
Generate a FuzzySet with an Z shape. |
|
ZFuzzySet(double leftEdge,
double rightEdge,
int numPoints)
Generate a FuzzySet with an Z shape. |
Methods inherited from class nrc.fuzzy.RFuzzySet |
checkParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ZFuzzySet(double leftEdge, double rightEdge) throws XValuesOutOfOrderException
leftEdge
- the start of the curve at the left with a membership value of 1rightEdge
- the end of the curve at the right with a membership value of 0
XValuesOutOfOrderException
- if the leftEdge argument is less than the
rightEdge argumentpublic ZFuzzySet(double leftEdge, double rightEdge, int numPoints) throws XValuesOutOfOrderException
leftEdge
- the start of the curve at the left with a membership value of 1rightEdge
- the end of the curve at the right with a membership value of 0numPoints
- the number of points to use to approximate the Z shape
XValuesOutOfOrderException
- if the leftEdge argument is less than the
rightEdge argument
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |