Class QuadraticMean

java.lang.Object
org.aksw.palmetto.aggregation.QuadraticMean
All Implemented Interfaces:
Aggregation

public class QuadraticMean extends Object implements Aggregation
  • Constructor Details

    • QuadraticMean

      public QuadraticMean()
  • Method Details

    • 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
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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