Catalano.Fuzzy
Interface IMembershipFunction
-
- All Known Implementing Classes:
- PiecewiseLinearFunction, SingletonFunction, TrapezoidalFunction
public interface IMembershipFunctionInterface which specifies set of methods required to be implemented by all membership functions.
All membership functions must implement this interface, which is used by
class to calculate value's membership to a particular fuzzy set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description floatGetMembership(float x)Calculate membership of a given value to the fuzzy set.floatLeftLimit()The leftmost x value of the membership function.floatRightLimit()The rightmost x value of the membership function.
-
-
-
Method Detail
-
GetMembership
float GetMembership(float x)
Calculate membership of a given value to the fuzzy set.- Parameters:
x- Value which membership will to be calculated.- Returns:
- Degree of membership [0..1] of the value to the fuzzy set.
-
LeftLimit
float LeftLimit()
The leftmost x value of the membership function.- Returns:
- x.
-
RightLimit
float RightLimit()
The rightmost x value of the membership function.- Returns:
- x.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG