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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
offerSamples
(double[] values) void
offerSamples
(List<Double> values) protected void
setValid
(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
-
Field Details
-
batches
-
-
Constructor Details
-
ABatchAlgorithm
public ABatchAlgorithm()
-
-
Method Details
-
offerSamples
- Specified by:
offerSamples
in interfaceIBatchAlgorithm
-
offerSamples
public void offerSamples(double[] values) - Specified by:
offerSamples
in interfaceIBatchAlgorithm
-
getBatchMeans
- Specified by:
getBatchMeans
in interfaceIBatchAlgorithm
-
hasValidBatches
public boolean hasValidBatches()- Specified by:
hasValidBatches
in interfaceIBatchAlgorithm
-
setValid
protected void setValid(boolean valid)
-