Class Metric<MetricResult>
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.Metric<MetricResult>
- Direct Known Subclasses:
AlignmentAnalyzerMetric
,CMRelationMetric
,ConfusionMatrixMetric
,RankingMetric
,RankingMetricGroup
Abstract class which represents a metric.
- Author:
- Sven Hertling, Jan Portisch
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MetricResult
compute
(ExecutionResult executionResult) get
(ExecutionResult executionResult) Triggers the computation of the metric for an individual execution result.
-
Field Details
-
cache
-
-
Constructor Details
-
Metric
public Metric()
-
-
Method Details
-
get
Triggers the computation of the metric for an individual execution result. The metric should always use theExecutionResult.getSystemAlignment()
andExecutionResult.getReferenceAlignment()
methods.- Parameters:
executionResult
- Execution result for which the calculation shall be performed.- Returns:
- The metric result.
-
compute
-