Class MaximumCoNorm

  • All Implemented Interfaces:
    BinaryFunction<java.lang.Double,​java.lang.Double,​java.lang.Double>

    public class MaximumCoNorm
    extends TCoNorm
    Represents the maximum-conorm in fuzzy logic, i.e., S(x,y)=max(x,y)
    Author:
    Matthias Thimm
    • Constructor Summary

      Constructors 
      Constructor Description
      MaximumCoNorm()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Double eval​(java.lang.Double val1, java.lang.Double val2)
      Evaluates the function for the given elements.
      Term evalTerm​(Term val1, Term val2)
      Gives a representation of this conorm as a mathematical term
      TNorm getDualNorm()
      Returns the dual T-norm of this T-conorm.
      boolean isNilpotent()
      A T-conorm is nilpotent if there are x,y<1 with s(x,y)=1
      • Methods inherited from class java.lang.Object

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

      • MaximumCoNorm

        public MaximumCoNorm()
    • Method Detail

      • eval

        public java.lang.Double eval​(java.lang.Double val1,
                                     java.lang.Double val2)
        Description copied from interface: BinaryFunction
        Evaluates the function for the given elements.
        Specified by:
        eval in interface BinaryFunction<java.lang.Double,​java.lang.Double,​java.lang.Double>
        Specified by:
        eval in class TCoNorm
        Parameters:
        val1 - some element
        val2 - some element
        Returns:
        the value of the element.
      • getDualNorm

        public TNorm getDualNorm()
        Description copied from class: TCoNorm
        Returns the dual T-norm of this T-conorm.
        Specified by:
        getDualNorm in class TCoNorm
        Returns:
        the dual T-norm of this T-conorm.
      • evalTerm

        public Term evalTerm​(Term val1,
                             Term val2)
        Description copied from class: TCoNorm
        Gives a representation of this conorm as a mathematical term
        Specified by:
        evalTerm in class TCoNorm
        Parameters:
        val1 - the term denoting the first parameter
        val2 - the term denoting the second parameter
        Returns:
        the term denoting this conorm evaluation on the two terms
      • isNilpotent

        public boolean isNilpotent()
        Description copied from class: TCoNorm
        A T-conorm is nilpotent if there are x,y<1 with s(x,y)=1
        Specified by:
        isNilpotent in class TCoNorm
        Returns:
        true if the conorm is nilpotent