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
-
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
-
MergeIndicationFunction
- Parameters:
somoxConfiguration
-
-
-
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
-