Class RightLinearShape

  • All Implemented Interfaces:
    FuzzySet, XMLSerializer

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

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

      • RightLinearShape

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

        public RightLinearShape​(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.