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

Class FuzzySet



  • public class FuzzySet
    extends java.lang.Object
    The class represents a fuzzy set.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FuzzySet(java.lang.String name, IMembershipFunction function)
      Initializes a new instance of the FuzzySet class.
    • 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 fuzzy set's membership function.
      java.lang.String Name()
      Name of the fuzzy set.
      float RightLimit()
      The rightmost x value of the fuzzy set's membership function.
      • Methods inherited from class java.lang.Object

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

      • FuzzySet

        public FuzzySet(java.lang.String name,
                        IMembershipFunction function)
        Initializes a new instance of the FuzzySet class.
        Parameters:
        name - Name of the fuzzy set.
        function - Membership function that will define the shape of the fuzzy set.
    • Method Detail

      • Name

        public java.lang.String Name()
        Name of the fuzzy set.
        Returns:
        Name.
      • LeftLimit

        public float LeftLimit()
        The leftmost x value of the fuzzy set's membership function.
        Returns:
        X.
      • RightLimit

        public float RightLimit()
        The rightmost x value of the fuzzy set's membership function.
        Returns:
        X.
      • getMembership

        public float getMembership(float x)
        Calculate membership of a given value to the fuzzy set.
        Parameters:
        x - Value which membership needs 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.