|
||||||||||
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.TriangleFuzzySet | +--nrc.fuzzy.SingletonFuzzySet
Used to build specialized FuzzySets that have a single value with membership
value of 1.0. Note that such a FuzzySet requires 3 points in it's definition:
e.g. (x,0) (x,1) (x,0)
Also note that the definition of a FuzzySet with only 1 point defines a
horizontal line at the specifiec membership value and not a singleton value.
The diagram below shows a SingletonFuzzySet.
Note that the Constructors have been defined to make the generation of
such curves as simple as possible. Only 1 point is required to define
the singleton shape.
This is a specialization of the TriangleFuzzySet where the left, middle and right x values are the same.
FuzzySet
,
LRFuzzySet
,
TriangleFuzzySet
,
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 | |
SingletonFuzzySet(double xValue)
Generate a FuzzySet with an triangle 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 SingletonFuzzySet(double xValue) throws XValuesOutOfOrderException
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 |