Package jmt.engine.math

Examples of jmt.engine.math.DoubleArrayList


   * @param quantile Requested quantiles
   */
  public QuantileDataAnalyzer(double alfa, double precision, int maxData, double[] quantile) {
    super(alfa, precision, maxData);
    this.quantile = quantile;
    data = new DoubleArrayList(1024);
    data.add(0);
    sorter = new HeapSort();
  }
View Full Code Here


  protected void sort() {
    double[] d = data.toArray(0, data.getSize() - 1);
    //    long start = System.currentTimeMillis();
    sorter.sort(d);
    //    System.out.println("tempo = "+ (System.currentTimeMillis() - start));
    data = new DoubleArrayList(d);

  }
View Full Code Here

    this.alfa = alfa;
    this.precision = precision;
    initialized = false;
    end = false;
    success = false;
    initData = new DoubleArrayList();
    initWeight = new DoubleArrayList();

    if (nullTestEnabled) {
      //initializes nullTestPeriod (the period of null test repetition)
      nullTestPeriod = (int) (nullTestRate * maxData);
    }
 
View Full Code Here

TOP

Related Classes of jmt.engine.math.DoubleArrayList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.