java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_owlapi_matchers.logmap.LogmapMapping2Alignment

public class LogmapMapping2Alignment extends Object
Converts Set of MappingObjectStr to Alignment.
  • Constructor Details

    • LogmapMapping2Alignment

      public LogmapMapping2Alignment()
  • Method Details

    • transformAlignment

      public static Alignment transformAlignment(Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr> subsetOldAlignment, Alignment oldAlignment)
      This function is for filtering possibilities. It uses the correspondences from the oldAlignment (and thus keeps the correspondences extensions).
      Parameters:
      subsetOldAlignment - this should be a subset of the oldAlignment.
      oldAlignment - the old alignment with the correspondence extensions which should be used.
      Returns:
      the transformed alignment
    • transformAlignment

      public static Alignment transformAlignment(Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr> mappings)
    • transformRelation

      private static CorrespondenceRelation transformRelation(int rel)