Class APointsetsMeasure
- java.lang.Object
-
- org.aksw.limes.core.measures.measure.AMeasure
-
- org.aksw.limes.core.measures.measure.pointsets.APointsetsMeasure
-
- All Implemented Interfaces:
IMeasure,IPointsetsMeasure
- Direct Known Subclasses:
FairSurjectionMeasure,GeOxygeneFrechetMeasure,IndexedHausdorffMeasure,NaiveAverageMeasure,NaiveFrechetMeasure,NaiveHausdorffMeasure,NaiveLinkMeasure,NaiveMaxMeasure,NaiveMeanMeasure,NaiveMinMeasure,NaiveSumOfMinMeasure,NaiveSurjectionMeasure
public abstract class APointsetsMeasure extends AMeasure implements IPointsetsMeasure
- Version:
- Jul 15, 2016
- Author:
- Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description protected static intcomputationsstatic booleanUSE_GREAT_ELLIPTIC_DISTANCE
-
Constructor Summary
Constructors Constructor Description APointsetsMeasure()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetComputations()doublegetSimilarity(Object object1, Object object2)Returns the similarity between two objects.static doublepointToPointDistance(Point x, Point y)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.limes.core.measures.measure.IMeasure
getRuntimeApproximation, getSimilarity, getType
-
Methods inherited from interface org.aksw.limes.core.measures.measure.pointsets.IPointsetsMeasure
computeDistance, getName, run
-
-
-
-
Method Detail
-
pointToPointDistance
public static double pointToPointDistance(Point x, Point y)
- Parameters:
x- Point xy- Point y- Returns:
- Point-to-point distance between x and y
-
getSimilarity
public double getSimilarity(Object object1, Object object2)
Description copied from interface:IMeasureReturns the similarity between two objects.- Specified by:
getSimilarityin interfaceIMeasure- Parameters:
object1- , the source objectobject2- , the target object- Returns:
- The similarity of the objects
-
getComputations
public int getComputations()
- Specified by:
getComputationsin interfaceIPointsetsMeasure
-
-