public class FuzzySet
extends java.lang.Object
| Constructor and Description |
|---|
FuzzySet(java.lang.String name,
IMembershipFunction function)
Initializes a new instance of the FuzzySet class.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getMembership(float x)
Calculate membership of a given value to the fuzzy set.
|
float |
LeftLimit()
The leftmost x value of the fuzzy set's membership function.
|
java.lang.String |
Name()
Name of the fuzzy set.
|
float |
RightLimit()
The rightmost x value of the fuzzy set's membership function.
|
public FuzzySet(java.lang.String name,
IMembershipFunction function)
name - Name of the fuzzy set.function - Membership function that will define the shape of the fuzzy set.public java.lang.String Name()
public float LeftLimit()
public float RightLimit()
public float getMembership(float x)
x - Value which membership needs to be calculated.