public class EuclideanMeasure extends ASpaceMeasure
D2R, radius| Constructor and Description |
|---|
EuclideanMeasure() |
| Modifier and Type | Method and Description |
|---|---|
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 properties1,
String properties2)
Returns the similarity between two instances, given their corresponding
properties.
|
double |
getSimilarity(Object object1,
Object object2)
Returns the similarity between two objects.
|
double |
getThreshold(int dimension,
double simThreshold)
Return the threshold for a dimension.
|
String |
getType()
Returns type of a measure.
|
setDimensionpublic String getName()
IMeasurepublic double getThreshold(int dimension,
double simThreshold)
dimension - simThreshold - public double getRuntimeApproximation(double mappingSize)
IMeasurepublic String getType()
IMeasurepublic double getSimilarity(Object object1, Object object2)
IMeasureCopyright © 2018. All rights reserved.