Class LukasiewiczNorm
- java.lang.Object
 - 
- org.tweetyproject.math.func.fuzzy.TNorm
 - 
- org.tweetyproject.math.func.fuzzy.LukasiewiczNorm
 
 
 
- 
- All Implemented Interfaces:
 BinaryFunction<java.lang.Double,java.lang.Double,java.lang.Double>
public class LukasiewiczNorm extends TNorm
Represents the Lukasiewicz-norm in fuzzy logic, i.e., T(x,y)=max(x+y-1,0)- Author:
 - Matthias Thimm
 
 
- 
- 
Constructor Summary
Constructors Constructor Description LukasiewiczNorm() 
- 
Method Summary
Modifier and Type Method Description java.lang.Doubleeval(java.lang.Double val1, java.lang.Double val2)Evaluates the function for the given elements.TermevalTerm(Term val1, Term val2)Gives a representation of this norm as a mathematical termTCoNormgetDualCoNorm()Returns the dual T-conorm of this T-norm.booleanisNilpotent()A T-norm is nilpotent if there are x,y>0 with t(x,y)=0 
 - 
 
- 
- 
Method Detail
- 
eval
public java.lang.Double eval(java.lang.Double val1, java.lang.Double val2)Description copied from interface:BinaryFunctionEvaluates the function for the given elements.- Specified by:
 evalin interfaceBinaryFunction<java.lang.Double,java.lang.Double,java.lang.Double>- Specified by:
 evalin classTNorm- Parameters:
 val1- some elementval2- some element- Returns:
 - the value of the element.
 
 
- 
getDualCoNorm
public TCoNorm getDualCoNorm()
Description copied from class:TNormReturns the dual T-conorm of this T-norm.- Specified by:
 getDualCoNormin classTNorm- Returns:
 - the dual T-conorm of this T-norm.
 
 
- 
evalTerm
public Term evalTerm(Term val1, Term val2)
Description copied from class:TNormGives a representation of this norm as a mathematical term 
- 
isNilpotent
public boolean isNilpotent()
Description copied from class:TNormA T-norm is nilpotent if there are x,y>0 with t(x,y)=0- Specified by:
 isNilpotentin classTNorm- Returns:
 - true if the norm is nilpotent
 
 
 - 
 
 -