Class 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 Detail

      • FracAggrFunction

        public FracAggrFunction()
    • Method Detail

      • 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.