Class FracAggrFunction

  • All Implemented Interfaces:
    SimpleFunction<double[],​java.lang.Double>

    public class FracAggrFunction
    extends java.lang.Object
    implements SimpleFunction<double[],​java.lang.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
    • Method Summary

      Modifier and Type Method Description
      java.lang.Double eval​(double[] x)
      Evaluates the function for the given element.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FracAggrFunction

        public FracAggrFunction()
    • Method Detail

      • eval

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