java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.statistics.CoverageResult

public class CoverageResult extends Object
The result object of Coverage. A CoverageResult is immutable.
  • Field Details

    • coverageScore

      private final float coverageScore
      The share of linked strings.
    • linkedConcepts

      private final Map<String,Set<String>> linkedConcepts
      The concepts that were linked
    • nonLinkedConcepts

      private final Set<String> 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

      public Map<String,Set<String>> getLinkedConcepts()
    • getNonLinkedConcepts

      public Set<String> getNonLinkedConcepts()
    • getString

      private String getString(boolean isLongString)
      Helper method.
      Parameters:
      isLongString - True if an extensive string shall be generated.
      Returns:
      String representation.
    • toShortString

      public String toShortString()
      A more concise String representation of the instance than toString().
      Returns:
      String representation of the object.
    • toString

      public String toString()
      Overrides:
      toString in class Object