Package net.sf.tweety.math.func.fuzzy
Class BoundedSum
- java.lang.Object
-
- net.sf.tweety.math.func.fuzzy.TCoNorm
-
- net.sf.tweety.math.func.fuzzy.BoundedSum
-
- All Implemented Interfaces:
BinaryFunction<java.lang.Double,java.lang.Double,java.lang.Double>
public class BoundedSum extends TCoNorm
Represents the bounded sum in fuzzy logic, i.e., S(x,y)=min(x+y,1)- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description BoundedSum()
-
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 conorm as a mathematical termTNormgetDualNorm()Returns the dual T-norm of this T-conorm.booleanisNilpotent()A T-conorm is nilpotent if there are x,y<1 with s(x,y)=1
-
-
-
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 classTCoNorm- Parameters:
val1- some elementval2- some element- Returns:
- the value of the element.
-
getDualNorm
public TNorm getDualNorm()
Description copied from class:TCoNormReturns the dual T-norm of this T-conorm.- Specified by:
getDualNormin classTCoNorm- Returns:
- the dual T-norm of this T-conorm.
-
evalTerm
public Term evalTerm(Term val1, Term val2)
Description copied from class:TCoNormGives a representation of this conorm as a mathematical term
-
isNilpotent
public boolean isNilpotent()
Description copied from class:TCoNormA T-conorm is nilpotent if there are x,y<1 with s(x,y)=1- Specified by:
isNilpotentin classTCoNorm- Returns:
- true if the conorm is nilpotent
-
-