public class NaiveSurjectionMeasure extends APointsetsMeasure
| Modifier and Type | Field and Description |
|---|---|
int |
computations |
USE_GREAT_ELLIPTIC_DISTANCE| Constructor and Description |
|---|
NaiveSurjectionMeasure() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeDistance(Polygon X,
Polygon Y,
double threshold) |
String |
getName()
Returns name of a measure.
|
double |
getRuntimeApproximation(double mappingSize)
Returns the runtime approximation of a measure.
|
double |
getSimilarity(Instance instance1,
Instance instance2,
String property1,
String property2)
Returns the similarity between two instances, given their corresponding
properties.
|
String |
getType()
Returns type of a measure.
|
static double |
pointToPointDistance(Polygon X,
Polygon Y,
double threshold) |
AMapping |
run(Set<Polygon> source,
Set<Polygon> target,
double threshold)
Computes the SetMeasure distance for a source and target set
|
getComputations, getSimilarity, pointToPointDistancepublic static double pointToPointDistance(Polygon X, Polygon Y, double threshold)
public String getName()
IMeasurepublic AMapping run(Set<Polygon> source, Set<Polygon> target, double threshold)
source - Source polygonstarget - Target polygonsthreshold - Distance thresholdpublic String getType()
IMeasurepublic double getSimilarity(Instance instance1, Instance instance2, String property1, String property2)
IMeasurepublic double getRuntimeApproximation(double mappingSize)
IMeasureCopyright © 2018. All rights reserved.