
public static class LocallyWeightedDistanceFunction.Instance<V extends NumberVector<?>> extends AbstractIndexBasedDistanceFunction.Instance<V,LocalProjectionIndex<V,?>,DoubleDistance,LocallyWeightedDistanceFunction<? super V>> implements FilteredLocalPCABasedDistanceFunction.Instance<V,LocalProjectionIndex<V,?>,DoubleDistance>
index, parentrelationHINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Constructor and Description | 
|---|
| LocallyWeightedDistanceFunction.Instance(Relation<V> database,
                                        LocalProjectionIndex<V,?> index,
                                        LocallyWeightedDistanceFunction<? super V> distanceFunction)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| DoubleDistance | centerDistance(SpatialComparable mbr1,
              SpatialComparable mbr2) | 
| DoubleDistance | distance(DBIDRef id1,
        DBIDRef id2)Computes the distance between two given real vectors according to this
 distance function. | 
| DoubleDistance | distance(SpatialComparable mbr1,
        SpatialComparable mbr2) | 
| DoubleDistance | minDistBROKEN(SpatialComparable mbr,
             V v) | 
getDistanceFunction, getIndexdistance, distance, distancegetDistanceFactory, infiniteDistance, nullDistance, undefinedDistancegetRelationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexdistance, distance, distance, getDistanceFactory, getDistanceFunction, getRelation, infiniteDistance, nullDistance, undefinedDistancepublic LocallyWeightedDistanceFunction.Instance(Relation<V> database, LocalProjectionIndex<V,?> index, LocallyWeightedDistanceFunction<? super V> distanceFunction)
database - Databaseindex - IndexdistanceFunction - Distance Functionpublic DoubleDistance distance(DBIDRef id1, DBIDRef id2)
distance in interface DistanceQuery<V extends NumberVector<?>,DoubleDistance>distance in class AbstractDistanceQuery<V extends NumberVector<?>,DoubleDistance>id1 - first object idid2 - second object idpublic DoubleDistance minDistBROKEN(SpatialComparable mbr, V v)
public DoubleDistance distance(SpatialComparable mbr1, SpatialComparable mbr2)
public DoubleDistance centerDistance(SpatialComparable mbr1, SpatialComparable mbr2)