Class EntropyFunction
java.lang.Object
org.tweetyproject.math.func.EntropyFunction
- All Implemented Interfaces:
SimpleFunction<Vector<Double>, Double>,SimpleRealValuedFunction
- Direct Known Subclasses:
EntropyNorm
The entropy function.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EntropyFunction
public EntropyFunction()Constructor
-
-
Method Details
-
eval
Description copied from interface:SimpleFunctionEvaluates the function for the given element.- Specified by:
evalin interfaceSimpleFunction<Vector<Double>, Double>- Parameters:
x- some element- Returns:
- the value of the element.
-
getTerm
Description copied from interface:SimpleRealValuedFunctiongetTerm- Specified by:
getTermin interfaceSimpleRealValuedFunction- Parameters:
element- elements- Returns:
- Term
-