public class NaiveLinkMeasure extends APointsetsMeasure
computations, USE_GREAT_ELLIPTIC_DISTANCE| Constructor and Description |
|---|
NaiveLinkMeasure() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeDistance(Polygon X,
Polygon Y,
double threshold) |
static double |
distance(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.
|
AMapping |
run(Set<Polygon> source,
Set<Polygon> target,
double threshold)
Computes the SetMeasure distance for a source and target set
|
getComputations, getSimilarity, pointToPointDistancepublic 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 © 2020. All rights reserved.