Class DefaultNegation
java.lang.Object
org.tweetyproject.math.func.fuzzy.FuzzyNegation
org.tweetyproject.math.func.fuzzy.DefaultNegation
- All Implemented Interfaces:
SimpleFunction<Double,
Double>
Implements the default fuzzy negation x -> x-1
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultNegation
public DefaultNegation()
-
-
Method Details
-
eval
Description copied from interface:SimpleFunction
Evaluates the function for the given element.- Specified by:
eval
in interfaceSimpleFunction<Double,
Double> - Specified by:
eval
in classFuzzyNegation
- Parameters:
x
- some element- Returns:
- the value of the element.
-