Method | Description | |
---|---|---|
FuzzySet ( string name, IMembershipFunction function ) : System |
Initializes a new instance of the FuzzySet class.
|
|
GetMembership ( float x ) : float |
Calculate membership of a given value to the fuzzy set.
|
public FuzzySet ( string name, IMembershipFunction function ) : System | ||
name | string | Name of the fuzzy set. |
function | IMembershipFunction | Membership function that will define the shape of the fuzzy set. |
return | System |
public GetMembership ( float x ) : float | ||
x | float | Value which membership needs to be calculated. |
return | float |