Friday, December 10, 2010

(6) findEfficiency

   public double findEfficiency(){
        double efficiency;
        //        System.out.println();
        //        System.out.println("max: " + max);
        //        System.out.println("average: " + totalAverage);
        //        efficiency = (max-totalAverage)/totalAverage;
        efficiency =(double) numNoNoisePoints/(edgecounter - numNoNoisePoints);
Signal to Noise Ratio = number of points when no noise is added / (Current number of point - number of points when no noise is added)

        return efficiency;

    }

Part 3  <-- Back to Part 3

No comments:

Post a Comment