public class NaiveMeanMeasure extends APointsetsMeasure
| Modifier and Type | Field and Description |
|---|---|
int |
computations |
USE_GREAT_ELLIPTIC_DISTANCE| Constructor and Description |
|---|
NaiveMeanMeasure() |
| 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.
|
double |
getSimilarity(Object object1,
Object object2)
Returns the similarity between two objects.
|
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, pointToPointDistancepublic static double distance(Polygon X, Polygon Y, double threshold)
X - PolygonY - Polygonthreshold - of the distancepublic String getName()
IMeasurepublic AMapping run(Set<Polygon> source, Set<Polygon> target, double threshold)
source - Source polygonstarget - Target polygonsthreshold - Distance thresholdpublic double getSimilarity(Object object1, Object object2)
IMeasuregetSimilarity in interface IMeasuregetSimilarity in class APointsetsMeasurepublic String getType()
IMeasurepublic double getSimilarity(Instance instance1, Instance instance2, String property1, String property2)
IMeasurepublic double getRuntimeApproximation(double mappingSize)
IMeasureCopyright © 2018. All rights reserved.