Package de.uka.ipd.sdq.statistics
Class ABatchAlgorithm
- java.lang.Object
-
- de.uka.ipd.sdq.statistics.ABatchAlgorithm
-
- All Implemented Interfaces:
IBatchAlgorithm
- Direct Known Subclasses:
PhiMixingBatchAlgorithm,StaticBatchAlgorithm
public abstract class ABatchAlgorithm extends Object implements IBatchAlgorithm
Implements some recurring tasks arising when implementing the interfaceIBatchAlgorithm.
-
-
Constructor Summary
Constructors Constructor Description ABatchAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>getBatchMeans()booleanhasValidBatches()voidofferSamples(double[] values)voidofferSamples(List<Double> values)protected voidsetValid(boolean valid)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.uka.ipd.sdq.statistics.IBatchAlgorithm
offerSample
-
-
-
-
Method Detail
-
offerSamples
public void offerSamples(List<Double> values)
- Specified by:
offerSamplesin interfaceIBatchAlgorithm
-
offerSamples
public void offerSamples(double[] values)
- Specified by:
offerSamplesin interfaceIBatchAlgorithm
-
getBatchMeans
public List<Double> getBatchMeans()
- Specified by:
getBatchMeansin interfaceIBatchAlgorithm
-
hasValidBatches
public boolean hasValidBatches()
- Specified by:
hasValidBatchesin interfaceIBatchAlgorithm
-
setValid
protected void setValid(boolean valid)
-
-