Interface ICompositionFunction

All Known Implementing Classes:
CompositionIndicationFunction, MergeIndicationFunction

public interface ICompositionFunction
Interface for a strategy pattern used to parameterize the way the overall metric is being computed.
  • Method Details

    • computeOverallDirectedMetricValue

      double computeOverallDirectedMetricValue(Map<MetricID,Double> metricValues)
      Computes the overall metric score based on Landrys weighting functions
      Parameters:
      metricValues - The ID for every metric and its calculated score
      Returns:
      the overall score of the metric
      Throws:
      AnalyzerRuleException