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

Class TrapezoidalFunction

  • All Implemented Interfaces:
    IMembershipFunction


    public class TrapezoidalFunction
    extends PiecewiseLinearFunction
    Membership function in the shape of a trapezoid. Can be a half trapzoid if the left or the right side is missing.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  TrapezoidalFunction.EdgeType
      Enumeration used to create trapezoidal membership functions with half trapezoids.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TrapezoidalFunction(float m1, float m2, float m3)
      Initializes a new instance of the TrapezoidalFunction class.
      TrapezoidalFunction(float m1, float m2, float m3, float m4)
      Initializes a new instance of the TrapezoidalFunction class.
      TrapezoidalFunction(float m1, float m2, float m3, float max, float min)
      Initializes a new instance of the TrapezoidalFunction class.
      TrapezoidalFunction(float m1, float m2, float m3, float m4, float max, float min)
      Initializes a new instance of the TrapezoidalFunction class.
      TrapezoidalFunction(float m1, float m2, float max, float min, TrapezoidalFunction.EdgeType edge)
      Initializes a new instance of the TrapezoidalFunction class.
      TrapezoidalFunction(float m1, float m2, TrapezoidalFunction.EdgeType edge)
      Initializes a new instance of the TrapezoidalFunction class.
    • Constructor Detail

      • TrapezoidalFunction

        public TrapezoidalFunction(float m1,
                                   float m2,
                                   float m3,
                                   float m4,
                                   float max,
                                   float min)
        Initializes a new instance of the TrapezoidalFunction class.
        Parameters:
        m1 - X value where the degree of membership starts to raise.
        m2 - X value where the degree of membership reaches the maximum value.
        m3 - X value where the degree of membership starts to fall.
        m4 - X value where the degree of membership reaches the minimum value.
        max - The maximum value that the membership will reach, [0, 1].
        min - The minimum value that the membership will reach, [0, 1].
      • TrapezoidalFunction

        public TrapezoidalFunction(float m1,
                                   float m2,
                                   float m3,
                                   float m4)
        Initializes a new instance of the TrapezoidalFunction class.
        Parameters:
        m1 - X value where the degree of membership starts to raise.
        m2 - X value where the degree of membership reaches the maximum value.
        m3 - X value where the degree of membership starts to fall.
        m4 - X value where the degree of membership reaches the minimum value.
      • TrapezoidalFunction

        public TrapezoidalFunction(float m1,
                                   float m2,
                                   float m3,
                                   float max,
                                   float min)
        Initializes a new instance of the TrapezoidalFunction class.
        With three points the shape is known as triangular fuzzy number or just fuzzy number (/\).
        Parameters:
        m1 - X value where the degree of membership starts to raise.
        m2 - X value where the degree of membership reaches the maximum value and starts to fall.
        m3 - X value where the degree of membership reaches the minimum value.
        max - The maximum value that the membership will reach, [0, 1].
        min - The minimum value that the membership will reach, [0, 1].
      • TrapezoidalFunction

        public TrapezoidalFunction(float m1,
                                   float m2,
                                   float m3)
        Initializes a new instance of the TrapezoidalFunction class.
        With three points the shape is known as triangular fuzzy number or just fuzzy number (/\).
        Parameters:
        m1 - X value where the degree of membership starts to raise.
        m2 - X value where the degree of membership reaches the maximum value and starts to fall.
        m3 - X value where the degree of membership reaches the minimum value. Maximum membership value is set to 1.0 and the minimum is set to 0.0.
      • TrapezoidalFunction

        public TrapezoidalFunction(float m1,
                                   float m2,
                                   float max,
                                   float min,
                                   TrapezoidalFunction.EdgeType edge)
        Initializes a new instance of the TrapezoidalFunction class.
        With two points and an edge this shape can be a left fuzzy number (/) or a right fuzzy number (\).
        Parameters:
        m1 - Edge = Left: X value where the degree of membership starts to raise.
        Edge = Right: X value where the function starts, with maximum degree of membership.
        m2 - Edge = Left: X value where the degree of membership reaches the maximum.
        Edge = Right: X value where the degree of membership reaches minimum value.
        max - The maximum value that the membership will reach, [0, 1].
        min - The minimum value that the membership will reach, [0, 1].
        edge - Trapezoid's EdgeType.
      • TrapezoidalFunction

        public TrapezoidalFunction(float m1,
                                   float m2,
                                   TrapezoidalFunction.EdgeType edge)
        Initializes a new instance of the TrapezoidalFunction class.
        With three points and an edge this shape can be a left fuzzy number (/--) or a right fuzzy number (--\).
        Parameters:
        m1 - Edge = Left: X value where the degree of membership starts to raise.
        Edge = Right: X value where the function starts, with maximum degree of membership.
        m2 - Edge = Left: X value where the degree of membership reaches the maximum.
        Edge = Right: X value where the degree of membership reaches minimum value.
        edge - Trapezoid's EdgeType.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.