public class Fuzzy
extends java.lang.Object
Class for fuzzy set definition
Constructor and Description |
---|
Fuzzy()
Creates a new instance of Fuzzy
|
Modifier and Type | Method and Description |
---|---|
float |
Fuzzy(float X)
Returns the belonging degree
|
float |
getX0()
Methods to get the value of x0
|
float |
getX1()
Methods to get the value of x1
|
float |
getX3()
Methods to get the value of x3
|
void |
setVal(float vx0,
float vx1,
float vx3,
float vy)
Method to set the values of x0, x1 y x3
|
public float getX0()
Methods to get the value of x0
public float getX1()
Methods to get the value of x1
public float getX3()
Methods to get the value of x3
public void setVal(float vx0, float vx1, float vx3, float vy)
Method to set the values of x0, x1 y x3
vx0
- Value for x0vx1
- Value for x1vx3
- Value for x3vy
- Value for ypublic float Fuzzy(float X)
Returns the belonging degree
X
- Value to obtain the belonging degree