Package org.tweetyproject.math.func
Class FracAggrFunction
java.lang.Object
org.tweetyproject.math.func.FracAggrFunction
- All Implemented Interfaces:
SimpleFunction<double[],
Double>
This is the function 1-\sum_i (1-x_i/i) used e.g in
[Mu,Liu,Jin, Bell. A syntax-based approach to measuring the degree of inconsistency for belief bases. IJAR 52(7), 2011.]
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FracAggrFunction
public FracAggrFunction()Constructor
-
-
Method Details
-
eval
Description copied from interface:SimpleFunction
Evaluates the function for the given element.- Specified by:
eval
in interfaceSimpleFunction<double[],
Double> - Parameters:
x
- some element- Returns:
- the value of the element.
-