Class CoverageResult
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.statistics.CoverageResult
The result object of
Coverage
.
A CoverageResult is immutable.-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
The share of linked strings.The concepts that were linkedThe concepts that were not linked. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
private String
getString
(boolean isLongString) Helper method.A more concise String representation of the instance thantoString()
.toString()
-
Field Details
-
coverageScore
private final float coverageScoreThe share of linked strings. -
linkedConcepts
The concepts that were linked -
nonLinkedConcepts
The concepts that were not linked.
-
-
Constructor Details
-
CoverageResult
public CoverageResult(double coverageScore, Map<String, Set<String>> linkedConcepts, Set<String> nonLinkedConcepts) Constructor- Parameters:
coverageScore
- The coverage score.linkedConcepts
- The linked concepts.nonLinkedConcepts
- The concepts not linked.
-
CoverageResult
public CoverageResult(float coverageScore, Map<String, Set<String>> linkedConcepts, Set<String> nonLinkedConcepts) Constructor- Parameters:
coverageScore
- The coverage score.linkedConcepts
- The linked concepts.nonLinkedConcepts
- The concepts not linked.
-
-
Method Details
-
getCoverageScore
public float getCoverageScore() -
getLinkedConcepts
-
getNonLinkedConcepts
-
getString
Helper method.- Parameters:
isLongString
- True if an extensive string shall be generated.- Returns:
- String representation.
-
toShortString
A more concise String representation of the instance thantoString()
.- Returns:
- String representation of the object.
-
toString
-