|
||||||||||
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.RightGaussianFuzzySet
Used to build specialized FuzzySets that in have a shape similar to
the right half of a gaussian curve with a 1 at the upper left edge and 0 at the lower right edge.
The diagram below shows a RightGaussianFuzzySet.
The curves are defined by the following equation:
where a is the mean and sigma is the standard deviation.
Note that the Constructors have been defined to make the generation of
such curves as simple as possible. Only the centre and the standard deviation of the
gaussian curve need be specified (with an optional constructor that allows the number of
points on the curve approximation to be specified if necessary). Points from 4 standard deviations
right of the centre will be 0. Points to the left of the Centre point will be 1.
FuzzySet
,
RFuzzySet
,
RightGaussianFunction
,
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 | |
RightGaussianFuzzySet(double centre,
double standardDeviation)
Generate a FuzzySet with the right half of a gaussian shape. |
|
RightGaussianFuzzySet(double centre,
double standardDeviation,
int numPoints)
Generate a FuzzySet with the right half of gaussian 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 RightGaussianFuzzySet(double centre, double standardDeviation) throws XValuesOutOfOrderException
centre
- the upper left of the curve with a membership value of 1standardDeviation
- the standard deviation for the gaussian curve (points 4
standard deviations to the right of the centre point will all be 0).
XValuesOutOfOrderException
- if the leftEdge argument is greater than the
rightEdge argumentpublic RightGaussianFuzzySet(double centre, double standardDeviation, int numPoints) throws XValuesOutOfOrderException
centre
- the upper left of the curve with a membership value of 1standardDeviation
- the standard deviation for the gaussian curve (points 4
standard deviations to the right of the centre point will all be 0).numPoints
- the number of points to use to approximate the gaussian 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 |