net.sourceforge.jFuzzyLogic.defuzzifier
Class DefuzzifierCenterOfGravity

java.lang.Object
  extended by net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
      extended by net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierContinuous
          extended by net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierCenterOfGravity

public class DefuzzifierCenterOfGravity
extends DefuzzifierContinuous

Center of gravity defuzzyfier

Author:
pcingola@users.sourceforge.net

Field Summary
 
Fields inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierContinuous
DEFAULT_NUMBER_OF_POINTS, max, min, stepSize, values
 
Fields inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
discrete
 
Constructor Summary
DefuzzifierCenterOfGravity(Variable variable)
           
 
Method Summary
 double defuzzify()
          Deffuzification function
 java.lang.String toStringFCL()
           
 
Methods inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierContinuous
addValue, chart, getArea, getIndex, getLength, getMax, getMin, getStepSize, getValue, getValue, getValues, isDiscrete, reset, setDiscrete, setMax, setMin, setStepSize, setValue, setValue, setValues
 
Methods inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefuzzifierCenterOfGravity

public DefuzzifierCenterOfGravity(Variable variable)
Method Detail

defuzzify

public double defuzzify()
Deffuzification function

Specified by:
defuzzify in class DefuzzifierContinuous

toStringFCL

public java.lang.String toStringFCL()
Specified by:
toStringFCL in class Defuzzifier