Calculate the membership of a given value to a given label. Used to evaluate linguistics clauses like
“X IS A”, where X is a value and A is a linguistic label.
Namespace:
AForge.FuzzyAssembly: AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
Parameters
- labelName
- Type: System..::.String
Label (fuzzy set) to evaluate value’s membership.
- value
- Type: System..::.Single
Value which label’s membership will to be calculated.
Return Value
Degree of membership [0..1] of the value to the label (fuzzy set).
Exceptions
| Exception | Condition |
|---|---|
| System.Collections.Generic..::.KeyNotFoundException | The label indicated in labelName was not found in the linguistic variable. |