Package utils.math

Class Functions

java.lang.Object
utils.math.ApproximationFunctions

public class Functions extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double[]
    Acceptable(double[] V, double delta, int n, int t)
     
    static List<Double>
    Acceptable(List<Double> V, double delta, int n, int t)
     
    static int
    AsyncH(double[] V, double epsilon, int n, int t)
     
    static int
    c(int m, int k)
     
    static double
    estimator(double[] V)
     
    static double
     
    static double
    f(double[] V, int k, int t)
     
    static double
    InexactDelta(double[] V)
     
    static int
    InexactH(double delta, double epsilon)
     
    static double
    mean(double[] V)
     
    static double
    median(double[] V)
     
    static double[]
    reduce(double[] V, int k)
     
    static double[]
    select(double[] V, int k)
     
    static double
    sortedDelta(double[] V)
     
    static int
    SynchH(double[] V, double epsilon, int n, int t)
     

    Methods inherited from class java.lang.Object

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

    • Functions

      public Functions()
  • Method Details

    • reduce

      public static double[] reduce(double[] V, int k)
    • select

      public static double[] select(double[] V, int k)
    • mean

      public static double mean(double[] V)
    • f

      public static double f(double[] V, int k, int t)
    • median

      public static double median(double[] V)
    • SynchH

      public static int SynchH(double[] V, double epsilon, int n, int t)
    • AsyncH

      public static int AsyncH(double[] V, double epsilon, int n, int t)
    • InexactH

      public static int InexactH(double delta, double epsilon)
    • InexactDelta

      public static double InexactDelta(double[] V)
    • sortedDelta

      public static double sortedDelta(double[] V)
    • Acceptable

      public static double[] Acceptable(double[] V, double delta, int n, int t)
    • Acceptable

      public static List<Double> Acceptable(List<Double> V, double delta, int n, int t)
    • estimator

      public static double estimator(double[] V)
    • estimator

      public static double estimator(List<Double> V)
    • c

      public static int c(int m, int k)