Package de.torstennahm.integrate.sparse.visualize

Examples of de.torstennahm.integrate.sparse.visualize.IndexStatus


       
        if (primaryCompleted) {
          result.errorEstimate = errorEstimate;
        }
       
        Visualizers.submitToList(visualizers, new IndexStatus(index, "expanded"));
      }
     
      result.supplementalInfo.add(new IntegrationInfo("Indices higher than estimate: " + higherThanEstimate +
          " contribution: " + higherContributions));
     
View Full Code Here


      result.calls += calls;
      errorEstimate += Math.abs(contribution);
     
      if (Math.abs(contribution) > estimate
      &&  Math.abs(contribution) > MathTN.FUDGE * Math.abs(result.value)) {
        Visualizers.submitToList(visualizers, new IndexStatus(index, ">estimate"));
//        errorEstimate = Double.NaN;    // TODO detection of underestimation should temporarily increase the error estimate
        higherThanEstimate++;
        higherContributions += Math.abs(contribution);
      }
     
View Full Code Here

     
      IndexData indexData = queue.poll();
      Index index = indexData.index;
     
      indexData.completed = true;
      Visualizers.submitToList(visualizers, new IndexStatus(index, "expanded"));
     
      boolean couldExpandFully = true;
      for (int i = 0; i < dimension; i++) {
        Index succIndex = index.add(i, 1);
        if (isValid(indexMap, succIndex)) {
View Full Code Here

         
          if (Math.abs(indexData.contribution) > indexData.estimate
          &&  Math.abs(indexData.contribution) > MathTN.FUDGE * Math.abs(result.value)) {
            higherThanEstimate++;
            higherContributions += Math.abs(indexData.contribution);
            Visualizers.submitToList(visualizers, new IndexStatus(index, ">estimate"));
          }
         
          estimator.log(result.calls, result.value);
          result.errorEstimate = estimator.getEstimate();
         
View Full Code Here

TOP

Related Classes of de.torstennahm.integrate.sparse.visualize.IndexStatus

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.