Class TCoNorm
java.lang.Object
org.tweetyproject.math.func.fuzzy.TCoNorm
- All Implemented Interfaces:
BinaryFunction<Double,
Double, Double>
- Direct Known Subclasses:
BoundedSum
,MaximumCoNorm
,ProbabilisticSum
Represents a T-norm in fuzzy logic, i.e., a generalization of a logical
conjunction on values in [0,1].
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Double
Evaluates the function for the given elements.eval
(Collection<Double> vals) Generalizes this conorm on sets of input parameters (as t-conorms are associative, the order is not important).evalTerm
(Collection<Term> vals) Gives a representation of this conorm as a mathematical term.abstract Term
Gives a representation of this conorm as a mathematical termabstract TNorm
Returns the dual T-norm of this T-conorm.abstract boolean
A T-conorm is nilpotent if there are x,y<1 with s(x,y)=1
-
Constructor Details
-
TCoNorm
public TCoNorm()
-
-
Method Details
-
eval
Description copied from interface:BinaryFunction
Evaluates the function for the given elements.- Specified by:
eval
in interfaceBinaryFunction<Double,
Double, Double> - Parameters:
val1
- some elementval2
- some element- Returns:
- the value of the element.
-
eval
Generalizes this conorm on sets of input parameters (as t-conorms are associative, the order is not important).- Parameters:
vals
- a set of values- Returns:
- the evaluation result on the input
-
evalTerm
-
evalTerm
Gives a representation of this conorm as a mathematical term. Generalizes this conorm on sets of input parameters (as t-conorms are associative, the order is not important).- Parameters:
vals
- a set of value terms- Returns:
- the evaluation result on the input as a term
-
getDualNorm
Returns the dual T-norm of this T-conorm.- Returns:
- the dual T-norm of this T-conorm.
-
isNilpotent
public abstract boolean isNilpotent()A T-conorm is nilpotent if there are x,y<1 with s(x,y)=1- Returns:
- true if the conorm is nilpotent
-