Class FracAggrFunction

java.lang.Object
org.tweetyproject.math.func.FracAggrFunction
All Implemented Interfaces:
SimpleFunction<double[],Double>

public class FracAggrFunction extends Object implements 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 Details

    • FracAggrFunction

      public FracAggrFunction()
  • Method Details

    • eval

      public Double eval(double[] x)
      Description copied from interface: SimpleFunction
      Evaluates the function for the given element.
      Specified by:
      eval in interface SimpleFunction<double[],Double>
      Parameters:
      x - some element
      Returns:
      the value of the element.