Package net.sf.tweety.math.func.fuzzy
Class DefaultNegation
- java.lang.Object
-
- net.sf.tweety.math.func.fuzzy.FuzzyNegation
-
- net.sf.tweety.math.func.fuzzy.DefaultNegation
-
- All Implemented Interfaces:
SimpleFunction<java.lang.Double,java.lang.Double>
public class DefaultNegation extends FuzzyNegation
Implements the default fuzzy negation x -> x-1- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description DefaultNegation()
-
Method Summary
Modifier and Type Method Description java.lang.Double
eval(java.lang.Double x)
Evaluates the function for the given element.
-
-
-
Method Detail
-
eval
public 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>
- Specified by:
eval
in classFuzzyNegation
- Parameters:
x
- some element- Returns:
- the value of the element.
-
-