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
Implements some recurring tasks arising when implementing the interface
IBatchAlgorithm.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidofferSamples(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, waitMethods inherited from interface de.uka.ipd.sdq.statistics.IBatchAlgorithm
offerSample
-
Field Details
-
batches
-
-
Constructor Details
-
ABatchAlgorithm
public ABatchAlgorithm()
-
-
Method Details
-
offerSamples
- Specified by:
offerSamplesin interfaceIBatchAlgorithm
-
offerSamples
public void offerSamples(double[] values) - Specified by:
offerSamplesin interfaceIBatchAlgorithm
-
getBatchMeans
- Specified by:
getBatchMeansin interfaceIBatchAlgorithm
-
hasValidBatches
public boolean hasValidBatches()- Specified by:
hasValidBatchesin interfaceIBatchAlgorithm
-
setValid
protected void setValid(boolean valid)
-