Package de.uka.ipd.sdq.statistics
Class StaticBatchAlgorithm
- java.lang.Object
-
- de.uka.ipd.sdq.statistics.ABatchAlgorithm
-
- de.uka.ipd.sdq.statistics.StaticBatchAlgorithm
-
- All Implemented Interfaces:
IBatchAlgorithm
public class StaticBatchAlgorithm extends ABatchAlgorithm
Batch means algorithm with manually configured batch size. Specify the size of each batch and the minimum number of batches. It will then provide the mean values for the defined batches to the simulation.
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.statistics.ABatchAlgorithm
batches
-
-
Constructor Summary
Constructors Constructor Description StaticBatchAlgorithm(int batchSize, int minNumberOfBatches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
offerSample(double value)
Store all values of the current batch to avoid numerical errors with sliding mean calculation.-
Methods inherited from class de.uka.ipd.sdq.statistics.ABatchAlgorithm
getBatchMeans, hasValidBatches, offerSamples, offerSamples, setValid
-
-