Documentation of 'Catalano.Fuzzy.PiecewiseLinearFunction' Java class
PiecewiseLinearFunction
Catalano.Fuzzy

Class PiecewiseLinearFunction

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float GetMembership(float x)
      Calculate membership of a given value to the fuzzy set.
      float LeftLimit()
      The leftmost x value of the membership function.
      float RightLimit()
      The rightmost x value of the membership function.
      • Methods inherited from class java.lang.Object

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

      • PiecewiseLinearFunction

        public PiecewiseLinearFunction()
        Initializes a new instance of the class. This constructor must be used only by inherited classes to create the points vector after the instantiation.
      • PiecewiseLinearFunction

        public PiecewiseLinearFunction(FloatPoint[] points)
        Initializes a new instance of the class.
        Parameters:
        points - Array of (X,Y) coordinates of each start/end of the lines. Points must be in crescent order on X axis. Y value of points must be in the range of [0, 1].
    • Method Detail

      • GetMembership

        public float GetMembership(float x)
        Description copied from interface: IMembershipFunction
        Calculate membership of a given value to the fuzzy set.
        Specified by:
        GetMembership in interface IMembershipFunction
        Parameters:
        x - Value which membership will to be calculated.
        Returns:
        Degree of membership [0..1] of the value to the fuzzy set.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.