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

Class Rule



  • public class Rule
    extends java.lang.Object
    This class represents a Fuzzy Rule, a linguistic expression representing some behavioral aspect of a Fuzzy Inference System.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Rule(Database fuzzyDatabase, java.lang.String name, java.lang.String rule)
      Initializes a new instance of the class using as CoNorm the and as Norm the .
      Rule(Database fuzzyDatabase, java.lang.String name, java.lang.String rule, INorm normOperator, ICoNorm coNormOperator)
      Initializes a new instance of the class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float EvaluateFiringStrength()
      Evaluates the firing strength of the Rule, the degree of confidence that the consequent of this Rule must be executed.
      java.lang.String getName()
      The name of the fuzzy rule.
      Clause getOutput()
      The fuzzy Clause that represents the consequent of the Rule.
      java.lang.String GetRPNExpression()
      Converts the RPN fuzzy expression into a string representation.
      void setName(java.lang.String name)
      The name of the fuzzy rule.
      • Methods inherited from class java.lang.Object

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

      • Rule

        public Rule(Database fuzzyDatabase,
                    java.lang.String name,
                    java.lang.String rule,
                    INorm normOperator,
                    ICoNorm coNormOperator)
        Initializes a new instance of the class.
        Parameters:
        fuzzyDatabase - A fuzzy containig the linguistic variables see ) that will be used in the Rule.
        name - Name of this .
        rule - A string representing the . It must be a "IF..THEN" statement. For a more detailed description see class.
        normOperator - A class that implements a interface to evaluate the AND operations of the Rule.
        coNormOperator - A class that implements a interface to evaluate the OR operations of the Rule.
      • Rule

        public Rule(Database fuzzyDatabase,
                    java.lang.String name,
                    java.lang.String rule)
        Initializes a new instance of the class using as CoNorm the and as Norm the .
        Parameters:
        fuzzyDatabase - A fuzzy containig the linguistic variables see ) that will be used in the Rule.
        name - Name of this .
        rule - A string representing the . It must be a "IF..THEN" statement. For a more detailed description see class.
    • Method Detail

      • getName

        public java.lang.String getName()
        The name of the fuzzy rule.
        Returns:
        Name.
      • setName

        public void setName(java.lang.String name)
        The name of the fuzzy rule.
        Parameters:
        name - Name.
      • getOutput

        public Clause getOutput()
        The fuzzy Clause that represents the consequent of the Rule.
        Returns:
        Clause.
        See Also:
        Clause., Rule.
      • GetRPNExpression

        public java.lang.String GetRPNExpression()
        Converts the RPN fuzzy expression into a string representation.
        Returns:
        String representation of the RPN fuzzy expression.
      • EvaluateFiringStrength

        public float EvaluateFiringStrength()
        Evaluates the firing strength of the Rule, the degree of confidence that the consequent of this Rule must be executed.
        Returns:
        The firing strength [0..1] of the Rule.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.