Class SlidingWindowStatisticalCharacterizationAggregator
java.lang.Object
org.palladiosimulator.experimentanalysis.windowaggregators.SlidingWindowAggregator
org.palladiosimulator.simulizar.slidingwindow.aggregators.SlidingWindowStatisticalCharacterizationAggregator
- All Implemented Interfaces:
org.palladiosimulator.experimentanalysis.ISlidingWindowListener
public class SlidingWindowStatisticalCharacterizationAggregator
extends org.palladiosimulator.experimentanalysis.windowaggregators.SlidingWindowAggregator
Specialization of the
SlidingWindowAggregator
which is devoted to aggregate the
measurements collected by a sliding window (usually at simulation-time) in a statistical manner.- See Also:
-
StatisticalCharacterization
-
Constructor Summary
ConstructorDescriptionSlidingWindowStatisticalCharacterizationAggregator
(Collection<org.palladiosimulator.recorderframework.IRecorder> recordersToWriteInto, org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator) Initializes a new instance of theSlidingWindowStatisticalCharacterizationAggregator
class with the given parameters.SlidingWindowStatisticalCharacterizationAggregator
(org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator) Initializes a new instance of theSlidingWindowStatisticalCharacterizationAggregator
class with the given parameter.SlidingWindowStatisticalCharacterizationAggregator
(org.palladiosimulator.recorderframework.IRecorder recorderToWriteInto, org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator) Initializes a new instance of theSlidingWindowStatisticalCharacterizationAggregator
class with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.palladiosimulator.metricspec.NumericalBaseMetricDescription
protected final org.palladiosimulator.measurementframework.MeasuringValue
processWindowData
(Iterable<org.palladiosimulator.measurementframework.MeasuringValue> windowData, javax.measure.Measure<Double, javax.measure.quantity.Duration> windowLeftBound, javax.measure.Measure<Double, javax.measure.quantity.Duration> windowLength) Methods inherited from class org.palladiosimulator.experimentanalysis.windowaggregators.SlidingWindowAggregator
addRecorder, onSlidingWindowFull
-
Constructor Details
-
SlidingWindowStatisticalCharacterizationAggregator
public SlidingWindowStatisticalCharacterizationAggregator(org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator) Initializes a new instance of theSlidingWindowStatisticalCharacterizationAggregator
class with the given parameter.- Parameters:
aggregator
- TheStatisticalCharacterizationAggregator
that shall be used for aggregation of the collected window data.- Throws:
NullPointerException
- In caseaggregator == null
.
-
SlidingWindowStatisticalCharacterizationAggregator
public SlidingWindowStatisticalCharacterizationAggregator(org.palladiosimulator.recorderframework.IRecorder recorderToWriteInto, org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator) Initializes a new instance of theSlidingWindowStatisticalCharacterizationAggregator
class with the given parameters.- Parameters:
recorderToWriteInto
- AnIRecorder
implementation to write the aggregated data into.aggregator
- TheStatisticalCharacterizationAggregator
that shall be used for aggregation of the collected window data.- Throws:
NullPointerException
- In caseaggregator == null || recorderToWriteInto == null
.
-
SlidingWindowStatisticalCharacterizationAggregator
public SlidingWindowStatisticalCharacterizationAggregator(Collection<org.palladiosimulator.recorderframework.IRecorder> recordersToWriteInto, org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator) Initializes a new instance of theSlidingWindowStatisticalCharacterizationAggregator
class with the given parameters.- Parameters:
recordersToWriteInto
- A Collection ofIRecorder
implementations to write the aggregated data into.aggregator
- TheStatisticalCharacterizationAggregator
that shall be used for aggregation of the collected window data.- Throws:
NullPointerException
- In caseaggregator == null || recordersToWriteInto == null
.IllegalArgumentException
- In case the passed recorder collection is empty.
-
-
Method Details
-
getExpectedWindowDataMetric
public final org.palladiosimulator.metricspec.NumericalBaseMetricDescription getExpectedWindowDataMetric()- Returns:
- A
NumericalBaseMetricDescription
indicating the type of measurements this aggregator can process. - See Also:
-
StatisticalCharacterizationAggregator.getDataMetric()
-
processWindowData
protected final org.palladiosimulator.measurementframework.MeasuringValue processWindowData(Iterable<org.palladiosimulator.measurementframework.MeasuringValue> windowData, javax.measure.Measure<Double, javax.measure.quantity.Duration> windowLeftBound, javax.measure.Measure<Double, javax.measure.quantity.Duration> windowLength) - Specified by:
processWindowData
in classorg.palladiosimulator.experimentanalysis.windowaggregators.SlidingWindowAggregator
-