Package org.somox.metrics
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 Summary
Modifier and TypeMethodDescriptiondouble
computeOverallDirectedMetricValue
(Map<MetricID, Double> metricValues) Computes the overall metric score based on Landrys weighting functions
-
Method Details
-
computeOverallDirectedMetricValue
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
-