Class MappingOperations
- java.lang.Object
-
- org.aksw.limes.core.measures.mapper.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 Summary
Constructors Constructor Description MappingOperations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AMappingdifference(AMapping map1, AMapping map2)Computes the difference of two mappings.static AMappingintersection(AMapping map1, AMapping map2)Computes the intersection of two mappings.static AMappingunion(AMapping map1, AMapping map2)Computes the union of two mappings.
-
-
-
Method Detail
-
difference
public static AMapping difference(AMapping map1, AMapping map2)
Computes the difference of two mappings.- Parameters:
map1- First mappingmap2- 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 mappingmap2- Second mapping- Returns:
- Intersection of map1 and map2
-
-