Calculate membership of a given value to the piecewise function.
Namespace:
AForge.FuzzyAssembly: AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
Parameters
- x
- Type: System..::.Single
Value which membership will to be calculated.
Return Value
Degree of membership [0..1] of the value to the fuzzy set.Implements
IMembershipFunction..::.GetMembership(Single)
Exceptions
| Exception | Condition |
|---|---|
| System..::.NullReferenceException | Points of the membership function are not initialized. |