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

Class LinguisticVariable



  • public class LinguisticVariable
    extends java.lang.Object
    The class represents a linguistic variable.
    • Constructor Summary

      Constructors 
      Constructor and Description
      LinguisticVariable(java.lang.String name, float start, float end)
      Initializes a new instance of the LinguisticVariable class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addLabel(FuzzySet label)
      Adds a linguistic label to the variable.
      void ClearLabels() 
      float getEnd()
      Get right limit of the valid variable range.
      FuzzySet getLabel(java.lang.String labelName) 
      float GetLabelMembership(java.lang.String labelName, float value) 
      java.lang.String getName()
      Get name of the linguistic variable.
      float getNumericInput()
      Get numerical value of the input of this linguistic variable.
      float getStart()
      Get left limit of the valid variable range.
      void setNumericInput(float numericInput)
      Set numerical value of the input of this linguistic variable.
      • Methods inherited from class java.lang.Object

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

      • LinguisticVariable

        public LinguisticVariable(java.lang.String name,
                                  float start,
                                  float end)
        Initializes a new instance of the LinguisticVariable class.
        Parameters:
        name - Name of the linguistic variable.
        start - Left limit of the valid variable range.
        end - Right limit of the valid variable range.
    • Method Detail

      • getNumericInput

        public float getNumericInput()
        Get numerical value of the input of this linguistic variable.
        Returns:
        Value.
      • setNumericInput

        public void setNumericInput(float numericInput)
        Set numerical value of the input of this linguistic variable.
        Parameters:
        numericInput - Value.
      • getName

        public java.lang.String getName()
        Get name of the linguistic variable.
        Returns:
        Name.
      • getStart

        public float getStart()
        Get left limit of the valid variable range.
        Returns:
        Value.
      • getEnd

        public float getEnd()
        Get right limit of the valid variable range.
        Returns:
        Value.
      • addLabel

        public void addLabel(FuzzySet label)
        Adds a linguistic label to the variable.
        Parameters:
        label - A FuzzySet that will be a linguistic label of the linguistic variable.
      • ClearLabels

        public void ClearLabels()
      • getLabel

        public FuzzySet getLabel(java.lang.String labelName)
      • GetLabelMembership

        public float GetLabelMembership(java.lang.String labelName,
                                        float value)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.