Package net.sf.tweety.math.func.fuzzy
Class FuzzyNegation
- java.lang.Object
-
- net.sf.tweety.math.func.fuzzy.FuzzyNegation
-
- All Implemented Interfaces:
SimpleFunction<java.lang.Double,java.lang.Double>
- Direct Known Subclasses:
DefaultNegation
public abstract class FuzzyNegation extends java.lang.Object implements SimpleFunction<java.lang.Double,java.lang.Double>
Represents a fuzzy negation, i.e., a generalization of a logical negation on values in [0,1].- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description FuzzyNegation()
-
Method Summary
Modifier and Type Method Description abstract java.lang.Double
eval(java.lang.Double x)
Evaluates the function for the given element.
-
-
-
Method Detail
-
eval
public abstract java.lang.Double eval(java.lang.Double x)
Description copied from interface:SimpleFunction
Evaluates the function for the given element.- Specified by:
eval
in interfaceSimpleFunction<java.lang.Double,java.lang.Double>
- Parameters:
x
- some element- Returns:
- the value of the element.
-
-