Class AbstractWeightedComposedMetric

All Implemented Interfaces:
IMetric
Direct Known Subclasses:
ConfigurableWeightedComposedMetric

public abstract class AbstractWeightedComposedMetric extends AbstractComposedMetric
  • Constructor Details

    • AbstractWeightedComposedMetric

      public AbstractWeightedComposedMetric()
  • Method Details

    • getCompositionFunction

      protected ICompositionFunction getCompositionFunction(SoMoXConfiguration somoxConfiguration)
      Description copied from class: AbstractComposedMetric
      Return the function used to compose the set of child metrics
      Specified by:
      getCompositionFunction in class AbstractComposedMetric
      Parameters:
      somoxConfiguration - The somox configuration object used to initialize the function
      Returns:
      The function used to compute the composed metric
    • getWeigths

      protected abstract double[] getWeigths()
    • isNormalised

      public boolean isNormalised()
      Returns:
      whether the metric is normalized. If it is normalized, values of this metric must be between 0.0 and 1.0.