Class CompositionIndicationFunction
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.metrics.CompositionIndicationFunction
- All Implemented Interfaces:
ICompositionFunction
Function calculating weights indicating the composition of two component
candidates.
Related to
Related to
DefaultCompositionIndicatingMetric
. There required metrics
are listed.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
computeOverallDirectedMetricValue
(Map<MetricID, Double> metricValues) Computes the overall metric score based on Landrys weighting functionsprotected AbstractMetric
getMetric
(Map<String, AbstractMetric> allMetrics, String metricId)
-
Constructor Details
-
CompositionIndicationFunction
-
-
Method Details
-
computeOverallDirectedMetricValue
Description copied from interface:ICompositionFunction
Computes the overall metric score based on Landrys weighting functions- Specified by:
computeOverallDirectedMetricValue
in interfaceICompositionFunction
- Parameters:
metricValues
- The ID for every metric and its calculated score- Returns:
- the overall score of the metric
-
getMetric
-