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 Details

    • SlidingWindowStatisticalCharacterizationAggregator

      public SlidingWindowStatisticalCharacterizationAggregator(org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator)
      Initializes a new instance of the SlidingWindowStatisticalCharacterizationAggregator class with the given parameter.
      Parameters:
      aggregator - The StatisticalCharacterizationAggregator that shall be used for aggregation of the collected window data.
      Throws:
      NullPointerException - In case aggregator == null.
    • SlidingWindowStatisticalCharacterizationAggregator

      public SlidingWindowStatisticalCharacterizationAggregator(org.palladiosimulator.recorderframework.IRecorder recorderToWriteInto, org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator)
      Initializes a new instance of the SlidingWindowStatisticalCharacterizationAggregator class with the given parameters.
      Parameters:
      recorderToWriteInto - An IRecorder implementation to write the aggregated data into.
      aggregator - The StatisticalCharacterizationAggregator that shall be used for aggregation of the collected window data.
      Throws:
      NullPointerException - In case aggregator == null || recorderToWriteInto == null.
    • SlidingWindowStatisticalCharacterizationAggregator

      public SlidingWindowStatisticalCharacterizationAggregator(Collection<org.palladiosimulator.recorderframework.IRecorder> recordersToWriteInto, org.palladiosimulator.monitorrepository.statisticalcharacterization.StatisticalCharacterizationAggregator aggregator)
      Initializes a new instance of the SlidingWindowStatisticalCharacterizationAggregator class with the given parameters.
      Parameters:
      recordersToWriteInto - A Collection of IRecorder implementations to write the aggregated data into.
      aggregator - The StatisticalCharacterizationAggregator that shall be used for aggregation of the collected window data.
      Throws:
      NullPointerException - In case aggregator == 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 class org.palladiosimulator.experimentanalysis.windowaggregators.SlidingWindowAggregator