Centroid method to obtain the numerical representation of a fuzzy output. The numerical
value will be the center of the shape formed by the several fuzzy labels with their
constraints.
Namespace:
AForge.FuzzyAssembly: AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
C# |
---|
public float Defuzzify( FuzzyOutput fuzzyOutput, INorm normOperator ) |
Parameters
- fuzzyOutput
- Type: AForge.Fuzzy..::.FuzzyOutput
A FuzzyOutput containing the output of several rules of a Fuzzy Inference System.
- normOperator
- Type: AForge.Fuzzy..::.INorm
A INorm operator to be used when constraining the label to the firing strength.
Return Value
The numerical representation of the fuzzy output.Implements
IDefuzzifier..::.Defuzzify(FuzzyOutput, INorm)
Exceptions
Exception | Condition |
---|---|
System..::.Exception | The numerical output is unavaliable. All memberships are zero. |