public class FuzzyRegion
extends java.lang.Object
Constructor and Description |
---|
FuzzyRegion()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
FuzzyRegion |
clone()
It allows to clone correctly a fuzzy region
|
double |
getFuzzyValue(double x)
It returns the membership degree of an X value within a fuzzy region
|
java.lang.String |
getLabel()
It returns the label associated with a fuzzy region
|
double |
getX0()
It returns the X0 value of a fuzzy region
|
double |
getX1()
It returns the X1 value of a fuzzy region
|
double |
getX3()
It returns the X3 value of a fuzzy region
|
double |
getY()
It returns the Y value of a fuzzy region
|
void |
setLabel(java.lang.String label)
It sets the label associated with a fuzzy region
|
void |
setX0(double x0)
It sets the X0 value of a fuzzy region
|
void |
setX1(double x1)
It sets the X1 value of a fuzzy region
|
void |
setX3(double x3)
It sets the X3 value of a fuzzy region
|
void |
setY(double y)
It sets the Y value of a fuzzy region
|
java.lang.String |
toString()
It returns a raw string representation of a fuzzy region
|
public double getFuzzyValue(double x)
It returns the membership degree of an X value within a fuzzy region
x
- A value X whose membership degree has to be provedpublic double getX0()
It returns the X0 value of a fuzzy region
public void setX0(double x0)
It sets the X0 value of a fuzzy region
x0
- A value representing the X0 value of the fuzzy regionpublic double getX1()
It returns the X1 value of a fuzzy region
public void setX1(double x1)
It sets the X1 value of a fuzzy region
x1
- A value representing the X1 value of the fuzzy regionpublic double getX3()
It returns the X3 value of a fuzzy region
public void setX3(double x3)
It sets the X3 value of a fuzzy region
x3
- A value representing the X3 value of the fuzzy regionpublic double getY()
It returns the Y value of a fuzzy region
public void setY(double y)
It sets the Y value of a fuzzy region
y
- A value representing the maximum value returned by the fuzzy regionpublic java.lang.String getLabel()
It returns the label associated with a fuzzy region
public void setLabel(java.lang.String label)
It sets the label associated with a fuzzy region
label
- A string representing the label associated with the fuzzy regionpublic FuzzyRegion clone()
It allows to clone correctly a fuzzy region
clone
in class java.lang.Object
public java.lang.String toString()
It returns a raw string representation of a fuzzy region
toString
in class java.lang.Object