public class FuzzyAlphaCut extends Fuzzy
Constructor and Description |
---|
FuzzyAlphaCut(FuzzyAlphaCut b)
A copy constructor specialized for Fuzzy Alpha Cuts(FuzzyAlphaCut).
|
FuzzyAlphaCut(FuzzyInterval b)
A copy constructor specialized for Fuzzy Intervals (FuzzyInterval).
|
FuzzyAlphaCut(FuzzyNumberTRIANG b)
A copy constructor specialized for Triangular Fuzzy Numbers (FuzzyNumberTRIANG).
|
FuzzyAlphaCut(FuzzySingleton b)
A copy constructor specialized for Fuzzy Singleton Sets(FuzzySingleton).
|
Modifier and Type | Method and Description |
---|---|
FuzzyInterval |
alphaCut(double a)
Returns the alpha-cut interval (le, ri) for alpha a.
|
java.lang.String |
aString()
Returns a printable version of the instance.
|
void |
averageAmplitude()
Returns the average amplitude of a fuzzy set.
|
Fuzzy |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Fuzzy B)
Indicates whether some other object is "equal to" this one.
|
double |
evaluateMembership(double x)
Returns the membership level for the individual x.
|
FuzzyAlphaCut |
exp()
Returns the exponential of the present FuzzyInterval.
|
void |
linearComb(FuzzyAlphaCut a,
FuzzyAlphaCut b,
double alphap)
Returns the linear combination of two alpha-cuts a and b with alpha "alphap".
|
FuzzyAlphaCut |
log()
Returns the logarithm of the present FuzzyInterval.
|
double |
massCentre()
Returns the centroid of the present alpha-cut.
|
FuzzyAlphaCut |
multiply(double k)
Returns the multiplication of the present FuzzyInterval and the parameter x.
|
FuzzyAlphaCut |
multiply(FuzzyAlphaCut x)
Returns the multiplication of the present FuzzyInterval and the parameter x.
|
void |
set(FuzzyAlphaCut b)
Copies the FuzzyAlphaCut parameter over the present instance.
|
FuzzyAlphaCut |
sqr()
Returns the square of the present FuzzyInterval.
|
FuzzyAlphaCut |
sqrt()
Returns the square root of the present FuzzyInterval.
|
FuzzyAlphaCut |
subtract(FuzzyAlphaCut x)
Returns the subtract of the present FuzzyInterval and the parameter x.
|
FuzzyAlphaCut |
sum(FuzzyAlphaCut x)
Returns the sum of the present FuzzyInterval and the parameter x.
|
FuzzyInterval |
support()
Creates and returns a FuzzyInterval with the extremes of the support set.
|
public FuzzyAlphaCut(FuzzyNumberTRIANG b)
A copy constructor specialized for Triangular Fuzzy Numbers (FuzzyNumberTRIANG).
b
- a FuzzyNumberTRIANG object to be copiedpublic FuzzyAlphaCut(FuzzyInterval b)
A copy constructor specialized for Fuzzy Intervals (FuzzyInterval).
b
- a FuzzyInterval object to be copiedpublic FuzzyAlphaCut(FuzzySingleton b)
A copy constructor specialized for Fuzzy Singleton Sets(FuzzySingleton).
b
- is the FuzzySingleton instance to be copiedpublic FuzzyAlphaCut(FuzzyAlphaCut b)
A copy constructor specialized for Fuzzy Alpha Cuts(FuzzyAlphaCut).
b
- a FuzzyAlphaCut object to be copiedpublic Fuzzy clone()
Creates and returns a copy of this object.
public void set(FuzzyAlphaCut b)
Copies the FuzzyAlphaCut parameter over the present instance.
b
- a FuzzyAlphaCut object to be copiedpublic boolean equals(Fuzzy B)
Indicates whether some other object is "equal to" this one.
public double evaluateMembership(double x)
Returns the membership level for the individual x.
evaluateMembership
in class Fuzzy
x
- the individual which membership is to be calculated.public FuzzyInterval alphaCut(double a)
Returns the alpha-cut interval (le, ri) for alpha a.
membership f 1.0 - --------------------------- | / \ | / \ alpha[1]----------------/ \ | / \ | / \ a -------------/-------------------------------------\ | /| |\ | / | | \ alpha[0]----------/ | | \ | / | | \ | / | | \ 0.0 -------|-----+----|--------------------------|-----+----|---------- left[0] le left[1] right[1] ri right[0]
a
- the alpha value for which the alpha-cut is to be calculated.public FuzzyInterval support()
Creates and returns a FuzzyInterval with the extremes of the support set.
public FuzzyAlphaCut sum(FuzzyAlphaCut x)
Returns the sum of the present FuzzyInterval and the parameter x.
x
- to be summed.public FuzzyAlphaCut subtract(FuzzyAlphaCut x)
Returns the subtract of the present FuzzyInterval and the parameter x.
x
- to be subtracted.public FuzzyAlphaCut multiply(double k)
Returns the multiplication of the present FuzzyInterval and the parameter x.
k
- to be multiplied.public FuzzyAlphaCut multiply(FuzzyAlphaCut x)
Returns the multiplication of the present FuzzyInterval and the parameter x.
x
- to be multiplied.public FuzzyAlphaCut sqrt()
Returns the square root of the present FuzzyInterval.
public FuzzyAlphaCut sqr()
Returns the square of the present FuzzyInterval.
public FuzzyAlphaCut exp()
Returns the exponential of the present FuzzyInterval.
public FuzzyAlphaCut log()
Returns the logarithm of the present FuzzyInterval.
public double massCentre()
Returns the centroid of the present alpha-cut.
massCentre
in class Fuzzy
public void averageAmplitude()
Returns the average amplitude of a fuzzy set. It halves the nonspecificity.
public void linearComb(FuzzyAlphaCut a, FuzzyAlphaCut b, double alphap)
Returns the linear combination of two alpha-cuts a and b with alpha "alphap". linear_combination = alphap * a + (1-alphap) * b
a
- b
- alphap
-