Package net.sf.tweety.math.func.fuzzy
Class MaximumCoNorm
- java.lang.Object
-
- net.sf.tweety.math.func.fuzzy.TCoNorm
-
- net.sf.tweety.math.func.fuzzy.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 termTNorm
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
-
-
-
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 interfaceBinaryFunction<java.lang.Double,java.lang.Double,java.lang.Double>
- Specified by:
eval
in classTCoNorm
- Parameters:
val1
- some elementval2
- 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 classTCoNorm
- 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
-
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 classTCoNorm
- Returns:
- true if the conorm is nilpotent
-
-