Class SpeedComparison.TimeMeasuringAggregation

    • Constructor Detail

      • TimeMeasuringAggregation

        public TimeMeasuringAggregation​(Aggregation decorated,
                                        int numberOfWarmups,
                                        int numberOfRuns)
      • TimeMeasuringAggregation

        public TimeMeasuringAggregation​(Aggregation decorated,
                                        String name,
                                        int numberOfWarmups,
                                        int numberOfRuns)
    • Method Detail

      • summarize

        public double summarize​(double[] values)
        Description copied from interface: Aggregation
        Aggregates the given confirmation values and returns a single coherence value.
        Specified by:
        summarize in interface Aggregation
        Parameters:
        values - values that should be aggregated
        Returns:
        aggregated value
      • summarize

        public double summarize​(double[] values,
                                double[] weights)
        Description copied from interface: Aggregation
        Aggregates the product of the given confirmation values and the given weights and returns a single coherence value.
        Specified by:
        summarize in interface Aggregation
        Parameters:
        values - values that should be aggregated
        weights - weights of the single values
        Returns:
        aggregated value
      • getName

        public String getName()
        Description copied from interface: Aggregation
        Returns the name of the aggregation.
        Specified by:
        getName in interface Aggregation
        Returns:
        name of the aggregation