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