Interface Aggregation

All Known Implementing Classes:
ArithmeticMean, GeometricMean, HarmonicMean, Max, Median, Min, QuadraticMean

public interface Aggregation
Aggregates the given confirmation values and returns a single coherence value.
Author:
m.roeder
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static double
    The return value if the aggregation of the given values is not defined.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the aggregation.
    double
    summarize​(double[] values)
    Aggregates the given confirmation values and returns a single coherence value.
    double
    summarize​(double[] values, double[] weights)
    Aggregates the product of the given confirmation values and the given weights and returns a single coherence value.
  • Field Details

    • RETURN_VALUE_FOR_UNDEFINED

      static final double RETURN_VALUE_FOR_UNDEFINED
      The return value if the aggregation of the given values is not defined.
      See Also:
      Constant Field Values
  • Method Details

    • summarize

      double summarize(double[] values)
      Aggregates the given confirmation values and returns a single coherence value.
      Parameters:
      values - values that should be aggregated
      Returns:
      aggregated value
    • summarize

      double summarize(double[] values, double[] weights)
      Aggregates the product of the given confirmation values and the given weights and returns a single coherence value.
      Parameters:
      values - values that should be aggregated
      weights - weights of the single values
      Returns:
      aggregated value
    • getName

      String getName()
      Returns the name of the aggregation.
      Returns:
      name of the aggregation