net.sourceforge.jFuzzyLogic.defuzzifier
Class DefuzzifierCenterOfGravitySingletons

java.lang.Object
  extended by net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
      extended by net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierDiscrete
          extended by net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierCenterOfGravitySingletons

public class DefuzzifierCenterOfGravitySingletons
extends DefuzzifierDiscrete

Center of gravity for singletons defuzzyfier

Author:
pcingola@users.sourceforge.net

Field Summary
 
Fields inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierDiscrete
discreteValues
 
Fields inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
discrete
 
Constructor Summary
DefuzzifierCenterOfGravitySingletons(Variable variable)
           
 
Method Summary
 double defuzzify()
          Deffuzification function
 java.lang.String toStringFCL()
           
 
Methods inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.DefuzzifierDiscrete
chart, getDiscreteValue, iterator, reset, setPoint, size
 
Methods inherited from class net.sourceforge.jFuzzyLogic.defuzzifier.Defuzzifier
getName, isDiscrete, setDiscrete, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefuzzifierCenterOfGravitySingletons

public DefuzzifierCenterOfGravitySingletons(Variable variable)
Method Detail

defuzzify

public double defuzzify()
Deffuzification function

Specified by:
defuzzify in class DefuzzifierDiscrete

toStringFCL

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