Class LeftLinearShape

  • All Implemented Interfaces:
    FuzzySet, XMLSerializer

    public class LeftLinearShape
    extends TwoParameterSet
    Fuzzy set representing a increasing linear function, in the [a, b] interval. Anything to the left of a will be 0, and anything to the right of b will be 1.
    • Constructor Summary

      Constructor Description
      LeftLinearShape​(double a, double b)
      LeftLinearShape​(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

      • LeftLinearShape

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

        public LeftLinearShape​(double a,
                               double b)
        a - Left value of the line.
        b - Right value of the line.
    • Method Detail

      • eval

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