Package org.tweetyproject.math.func
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
-
Method Summary
-
Constructor Details
-
EntropyFunction
public EntropyFunction()Constructor
-
-
Method Details
-
eval
Description copied from interface:SimpleFunction
Evaluates the function for the given element.- Specified by:
eval
in interfaceSimpleFunction<Vector<Double>,
Double> - Parameters:
x
- some element- Returns:
- the value of the element.
-
getTerm
Description copied from interface:SimpleRealValuedFunction
getTerm- Specified by:
getTerm
in interfaceSimpleRealValuedFunction
- Parameters:
element
- elements- Returns:
- Term
-