Catalano.Fuzzy
Class CentroidDefuzzifier
- java.lang.Object
-
- Catalano.Fuzzy.CentroidDefuzzifier
-
- All Implemented Interfaces:
- IDefuzzifier
public class CentroidDefuzzifier extends java.lang.Object implements IDefuzzifier
This class implements the centroid defuzzification method.
-
-
Constructor Summary
Constructors Constructor and Description CentroidDefuzzifier(int intervals)Initializes a new instance of the CentroidDefuzifier class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatDefuzzify(FuzzyOutput fuzzyOutput, INorm normOperator)Defuzzification method to obtain the numerical representation of a fuzzy output.
-
-
-
Constructor Detail
-
CentroidDefuzzifier
public CentroidDefuzzifier(int intervals)
Initializes a new instance of the CentroidDefuzifier class.- Parameters:
intervals- Number of segments that the speech universe will be splited to perform the numerical approximation of the center of area.
-
-
Method Detail
-
Defuzzify
public float Defuzzify(FuzzyOutput fuzzyOutput, INorm normOperator)
Description copied from interface:IDefuzzifierDefuzzification method to obtain the numerical representation of a fuzzy output.- Specified by:
Defuzzifyin interfaceIDefuzzifier- Parameters:
fuzzyOutput- Acontaining the output of several rules of a Fuzzy Inference System. normOperator- Aoperator to be used when constraining the label to the firing strength. - Returns:
- The numerical representation of the fuzzy output.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG