Class SurjectionFinder
- java.lang.Object
-
- org.aksw.limes.core.measures.measure.pointsets.surjection.SurjectionFinder
-
- Direct Known Subclasses:
FairSurjectionFinder
public class SurjectionFinder extends Object
class to find the surjection of the larger polygon to the smaller one.- Version:
- Jul 15, 2016
- Author:
- Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description protected Polygonlargeprotected Polygonsmallprotected List<PairSimilar<Point>>surjectionPairsList
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PointgetNearestPoint(Point x, Polygon Y)doublegetRuntimeApproximation(double mappingSize)List<PairSimilar<Point>>getSurjectionPairsList()
-
-
-
Field Detail
-
surjectionPairsList
protected List<PairSimilar<Point>> surjectionPairsList
-
small
protected Polygon small
-
large
protected Polygon large
-
-
Method Detail
-
getSurjectionPairsList
public List<PairSimilar<Point>> getSurjectionPairsList()
- Returns:
- SurjectionPairsList
-
getNearestPoint
protected Point getNearestPoint(Point x, Polygon Y)
- Parameters:
x- PointY- Polygon- Returns:
- the nearest to x from the points of the polygon Y
-
getRuntimeApproximation
public double getRuntimeApproximation(double mappingSize)
- Parameters:
mappingSize-- Returns:
-
-