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()
boolean
hasValidBatches()
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
-
-
-
-
Method Detail
-
offerSamples
public void offerSamples(List<Double> values)
- Specified by:
offerSamples
in interfaceIBatchAlgorithm
-
offerSamples
public void offerSamples(double[] values)
- Specified by:
offerSamples
in interfaceIBatchAlgorithm
-
getBatchMeans
public List<Double> getBatchMeans()
- Specified by:
getBatchMeans
in interfaceIBatchAlgorithm
-
hasValidBatches
public boolean hasValidBatches()
- Specified by:
hasValidBatches
in interfaceIBatchAlgorithm
-
setValid
protected void setValid(boolean valid)
-
-