Class MinimumNorm

java.lang.Object
org.tweetyproject.math.func.fuzzy.TNorm
org.tweetyproject.math.func.fuzzy.MinimumNorm
All Implemented Interfaces:
BinaryFunction<Double,Double,Double>

public class MinimumNorm extends TNorm
Represents the minimum-norm in fuzzy logic, i.e., T(x,y)=min(x,y)
Author:
Matthias Thimm
  • Constructor Details

    • MinimumNorm

      public MinimumNorm()
  • Method Details

    • eval

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

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

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

      public boolean isNilpotent()
      Description copied from class: TNorm
      A T-norm is nilpotent if there are x,y>0 with t(x,y)=0
      Specified by:
      isNilpotent in class TNorm
      Returns:
      true if the norm is nilpotent