Class GaussianShape

  • All Implemented Interfaces:
    FuzzySet, XMLSerializer

    public class GaussianShape
    extends TwoParameterSet
    Fuzzy set representing a gaussian function. The gaussian function requires 2 parameters, mean (center value) and standard deviation (sigma value). This function is symmetrical around the mean.
    • Constructor Summary

      Constructors 
      Constructor Description
      GaussianShape​(double a, double b)
      Constructor.
      GaussianShape​(org.w3c.dom.Node xmlNode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double eval​(double x)
      Evaluate the membership of the set with the especified value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GaussianShape

        public GaussianShape​(org.w3c.dom.Node xmlNode)
      • GaussianShape

        public GaussianShape​(double a,
                             double b)
        Constructor.
        Parameters:
        a - Mean value of the Gaussian function.
        b - Standard deviation (a.k.a. sigma) of the Gaussian function.
    • Method Detail

      • eval

        public double eval​(double x)
        Description copied from interface: FuzzySet
        Evaluate the membership of the set with the especified value.
        Parameters:
        x - Value to evaluate.
        Returns:
        The membership value for the input.