Class MappingOperations


  • public class MappingOperations
    extends Object
    Implements the mapping operations abstract class.
    Version:
    1.0
    Author:
    Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de)
    • Constructor Detail

      • MappingOperations

        public MappingOperations()
    • Method Detail

      • difference

        public static AMapping difference​(AMapping map1,
                                          AMapping map2)
        Computes the difference of two mappings.
        Parameters:
        map1 - First mapping
        map2 - Second mapping
        Returns:
        map1 \ map2
      • intersection

        public static AMapping intersection​(AMapping map1,
                                            AMapping map2)
        Computes the intersection of two mappings. In case an entry exists in both mappings the minimal similarity is taken.
        Parameters:
        map1 - First mapping
        map2 - Second mapping
        Returns:
        Intersection of map1 and map2
      • union

        public static AMapping union​(AMapping map1,
                                     AMapping map2)
        Computes the union of two mappings. In case an entry exists in both mappings the maximal similarity is taken.
        Parameters:
        map1 - First mapping
        map2 - Second mapping
        Returns:
        Union of map1 and map2