Package iterativeaveraging.warmup
Class SequentialIterativeAverager
java.lang.Object
iterativeaveraging.warmup.SequentialIterativeAverager
- All Implemented Interfaces:
IterativeAverager
- Author:
- __STUDENT_NAME__, Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]iterativelyAverage(double[] originalArray, int iterationCount)toString()
-
Constructor Details
-
SequentialIterativeAverager
public SequentialIterativeAverager()
-
-
Method Details
-
iterativelyAverage
public double[] iterativelyAverage(double[] originalArray, int iterationCount) throws InterruptedException, ExecutionException- Specified by:
iterativelyAveragein interfaceIterativeAverager- Throws:
InterruptedExceptionExecutionException
-
toString
-