Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? super O,D> |
AbstractDistanceBasedAlgorithm.distanceFunction
Holds the instance of the distance function specified by
AbstractDistanceBasedAlgorithm.DISTANCE_FUNCTION_ID . |
protected DistanceFunction<O,D> |
AbstractDistanceBasedAlgorithm.Parameterizer.distanceFunction
The distance function to use.
|
Modifier and Type | Method and Description |
---|---|
static <F extends DistanceFunction<?,?>> |
AbstractAlgorithm.makeParameterDistanceFunction(Class<?> defaultDistanceFunction,
Class<?> restriction)
Make a default distance function configuration option.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super O,D> |
AbstractDistanceBasedAlgorithm.getDistanceFunction()
Returns the distanceFunction.
|
Constructor and Description |
---|
AbstractDistanceBasedAlgorithm(DistanceFunction<? super O,D> distanceFunction)
Constructor.
|
KNNDistanceOrder(DistanceFunction<O,D> distanceFunction,
int k,
double percentage)
Constructor.
|
KNNJoin(DistanceFunction<? super V,D> distanceFunction,
int k)
Constructor.
|
MaterializeDistances(DistanceFunction<? super O,D> distanceFunction)
Constructor.
|
Constructor and Description |
---|
KNNBenchmarkAlgorithm(DistanceFunction<? super O,D> distanceFunction,
int k,
DatabaseConnection queries,
double sampling,
RandomFactory random)
Constructor.
|
RangeQueryBenchmarkAlgorithm(DistanceFunction<? super O,D> distanceFunction,
DatabaseConnection queries,
double sampling,
RandomFactory random)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? super V,DoubleDistance> |
AbstractProjectedClustering.distanceFunction
The euclidean distance function.
|
protected DistanceFunction<V,D> |
AbstractProjectedDBSCAN.Parameterizer.innerdist |
Modifier and Type | Method and Description |
---|---|
protected DistanceFunction<? super V,DoubleDistance> |
AbstractProjectedClustering.getDistanceFunction()
Returns the distance function.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractProjectedDBSCAN.Parameterizer.configEpsilon(Parameterization config,
DistanceFunction<V,D> innerdist) |
protected void |
AbstractProjectedDBSCAN.Parameterizer.configOuterDistance(Parameterization config,
D epsilon,
int minpts,
Class<?> preprocessorClass,
DistanceFunction<V,D> innerdist) |
Constructor and Description |
---|
DBSCAN(DistanceFunction<? super O,D> distanceFunction,
D epsilon,
int minpts)
Constructor with parameters.
|
DeLiClu(DistanceFunction<? super NV,D> distanceFunction,
int minpts)
Constructor.
|
NaiveMeanShiftClustering(DistanceFunction<? super V,D> distanceFunction,
KernelDensityFunction kernel,
D range)
Constructor.
|
OPTICS(DistanceFunction<? super O,D> distanceFunction,
D epsilon,
int minpts)
Constructor.
|
SLINK(DistanceFunction<? super O,D> distanceFunction,
int minclusters)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
(package private) DistanceFunction<O,D> |
EpsilonNeighborPredicate.Parameterizer.distfun
Distance function to use
|
(package private) DistanceFunction<O,D> |
EpsilonNeighborPredicate.distFunc
Distance function to use
|
Constructor and Description |
---|
EpsilonNeighborPredicate(D epsilon,
DistanceFunction<O,D> distFunc)
Full constructor.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<? super O,D> |
LoOP.comparisonDistanceFunction
Preprocessor Step 2.
|
protected DistanceFunction<O,D> |
LoOP.Parameterizer.comparisonDistanceFunction
Preprocessor Step 2.
|
private DistanceFunction<V,D> |
ReferenceBasedOutlierDetection.distanceFunction
Distance function to use.
|
protected DistanceFunction<O,D> |
OnlineLOF.Parameterizer.neighborhoodDistanceFunction
Neighborhood distance function.
|
protected DistanceFunction<? super O,D> |
LOF.neighborhoodDistanceFunction
Neighborhood distance function.
|
protected DistanceFunction<O,D> |
LOF.Parameterizer.neighborhoodDistanceFunction
Neighborhood distance function.
|
protected DistanceFunction<O,D> |
OnlineLOF.Parameterizer.reachabilityDistanceFunction
Reachability distance function.
|
protected DistanceFunction<? super O,D> |
LoOP.reachabilityDistanceFunction
Preprocessor Step 1.
|
protected DistanceFunction<O,D> |
LoOP.Parameterizer.reachabilityDistanceFunction
Preprocessor Step 1.
|
protected DistanceFunction<? super O,D> |
LOF.reachabilityDistanceFunction
Reachability distance function.
|
protected DistanceFunction<O,D> |
LOF.Parameterizer.reachabilityDistanceFunction
Reachability distance function.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDBOutlier.Parameterizer.configD(Parameterization config,
DistanceFunction<?,D> distanceFunction)
Grab the 'd' configuration option.
|
Constructor and Description |
---|
ABOD(int k,
int sampleSize,
PrimitiveSimilarityFunction<? super V,DoubleDistance> primitiveKernelFunction,
DistanceFunction<V,DoubleDistance> distanceFunction)
Actual constructor, with parameters.
|
ABOD(int k,
PrimitiveSimilarityFunction<? super V,DoubleDistance> primitiveKernelFunction,
DistanceFunction<V,DoubleDistance> distanceFunction)
Actual constructor, with parameters.
|
AbstractDBOutlier(DistanceFunction<? super O,D> distanceFunction,
D d)
Constructor with actual parameters.
|
COP(DistanceFunction<? super V,D> distanceFunction,
int k,
PCARunner<V> pca,
double expect,
COP.DistanceDist dist)
Constructor.
|
DBOutlierDetection(DistanceFunction<O,D> distanceFunction,
D d,
double p)
Constructor with actual parameters.
|
DBOutlierScore(DistanceFunction<O,D> distanceFunction,
D d)
Constructor with parameters.
|
INFLO(DistanceFunction<? super O,D> distanceFunction,
double m,
int k)
Constructor with parameters.
|
KNNOutlier(DistanceFunction<? super O,D> distanceFunction,
int k)
Constructor for a single kNN query.
|
KNNWeightOutlier(DistanceFunction<? super O,D> distanceFunction,
int k)
Constructor with parameters.
|
LDF(int k,
DistanceFunction<? super O,D> distance,
KernelDensityFunction kernel,
double h,
double c)
Constructor.
|
LDOF(DistanceFunction<? super O,D> distanceFunction,
int k)
Constructor.
|
LOCI(DistanceFunction<? super O,D> distanceFunction,
D rmax,
int nmin,
double alpha)
Constructor.
|
LOF(int k,
DistanceFunction<? super O,D> distanceFunction)
Constructor.
|
LOF(int k,
DistanceFunction<? super O,D> neighborhoodDistanceFunction,
DistanceFunction<? super O,D> reachabilityDistanceFunction)
Constructor.
|
LOF(int k,
DistanceFunction<? super O,D> neighborhoodDistanceFunction,
DistanceFunction<? super O,D> reachabilityDistanceFunction)
Constructor.
|
LoOP(int kreach,
int kcomp,
DistanceFunction<? super O,D> reachabilityDistanceFunction,
DistanceFunction<? super O,D> comparisonDistanceFunction,
double lambda)
Constructor with parameters.
|
LoOP(int kreach,
int kcomp,
DistanceFunction<? super O,D> reachabilityDistanceFunction,
DistanceFunction<? super O,D> comparisonDistanceFunction,
double lambda)
Constructor with parameters.
|
OnlineLOF(int k,
DistanceFunction<? super O,D> neighborhoodDistanceFunction,
DistanceFunction<? super O,D> reachabilityDistanceFunction)
Constructor.
|
OnlineLOF(int k,
DistanceFunction<? super O,D> neighborhoodDistanceFunction,
DistanceFunction<? super O,D> reachabilityDistanceFunction)
Constructor.
|
OPTICSOF(DistanceFunction<? super O,D> distanceFunction,
int minpts)
Constructor with parameters.
|
ReferenceBasedOutlierDetection(int k,
DistanceFunction<V,D> distanceFunction,
ReferencePointsHeuristic<V> refp)
Constructor with parameters.
|
SimpleCOP(DistanceFunction<? super V,D> distanceFunction,
int k,
PCAFilteredRunner<V> pca)
Constructor.
|
SimpleKernelDensityLOF(int k,
DistanceFunction<? super O,D> distance,
KernelDensityFunction kernel)
Constructor.
|
SimpleLOF(int k,
DistanceFunction<? super O,D> distance)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<O,D> |
AbstractDistanceBasedSpatialOutlier.nonSpatialDistanceFunction
The distance function to use
|
Modifier and Type | Method and Description |
---|---|
protected DistanceFunction<O,D> |
AbstractDistanceBasedSpatialOutlier.getNonSpatialDistanceFunction()
Get the non-spatial relation
|
Constructor and Description |
---|
AbstractDistanceBasedSpatialOutlier(NeighborSetPredicate.Factory<N> npredf,
DistanceFunction<O,D> nonSpatialDistanceFunction)
Constructor.
|
CTLuGLSBackwardSearchAlgorithm(DistanceFunction<V,D> distanceFunction,
int k,
double alpha)
Constructor.
|
CTLuRandomWalkEC(DistanceFunction<N,D> distanceFunction,
double alpha,
double c,
int k)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? super O,D> |
PrecomputedKNearestNeighborNeighborhood.Factory.distFunc
distance function to use
|
(package private) DistanceFunction<? super O,D> |
PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer.distFunc
Distance function
|
Constructor and Description |
---|
PrecomputedKNearestNeighborNeighborhood.Factory(int k,
DistanceFunction<? super O,D> distFunc)
Factory Constructor
|
Constructor and Description |
---|
AveragePrecisionAtK(DistanceFunction<? super V,D> distanceFunction,
int k,
double sampling,
Long seed)
Constructor.
|
DistanceStatisticsWithClasses(DistanceFunction<? super O,D> distanceFunction,
int numbins,
boolean exact,
boolean sampling)
Constructor.
|
EvaluateRankingQuality(DistanceFunction<? super V,D> distanceFunction,
int numbins)
Constructor.
|
RankingQualityHistogram(DistanceFunction<? super O,D> distanceFunction,
int numbins)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<O,D> |
CacheFloatDistanceInOnDiskMatrix.distance
Distance function that is to be cached.
|
private DistanceFunction<O,D> |
CacheFloatDistanceInOnDiskMatrix.Parameterizer.distance
Distance function that is to be cached.
|
private DistanceFunction<O,D> |
CacheDoubleDistanceInOnDiskMatrix.distance
Distance function that is to be cached.
|
private DistanceFunction<O,D> |
CacheDoubleDistanceInOnDiskMatrix.Parameterizer.distance
Distance function that is to be cached.
|
Constructor and Description |
---|
CacheDoubleDistanceInOnDiskMatrix(Database database,
DistanceFunction<O,D> distance,
File out)
Constructor.
|
CacheFloatDistanceInOnDiskMatrix(Database database,
DistanceFunction<O,D> distance,
File out)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
(package private) DistanceFunction<? super O,D> |
ComputeKNNOutlierScores.distf
Distance function to use
|
(package private) DistanceFunction<? super O,D> |
ComputeKNNOutlierScores.Parameterizer.distf
Distance function to use
|
Constructor and Description |
---|
ComputeKNNOutlierScores(InputStep inputstep,
DistanceFunction<? super O,D> distf,
int startk,
int stepk,
int maxk,
ByLabelOutlier bylabel,
File outfile)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<O,D> |
KNNExplorer.distanceFunction
Holds the instance of the distance function specified by
KNNExplorer.DISTANCE_FUNCTION_ID . |
protected DistanceFunction<O,D> |
KNNExplorer.Parameterizer.distanceFunction |
Constructor and Description |
---|
KNNExplorer(Database database,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static <O,D extends Distance<D>> |
QueryUtil.getDistanceQuery(Database database,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get a distance query for a given distance function, automatically choosing
a relation.
|
<O,D extends Distance<D>> |
AbstractDatabase.getDistanceQuery(Relation<O> objQuery,
DistanceFunction<? super O,D> distanceFunction,
Object... hints) |
<O,D extends Distance<D>> |
Database.getDistanceQuery(Relation<O> relation,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get the distance query for a particular distance function.
|
static <O,D extends Distance<D>> |
QueryUtil.getKNNQuery(Database database,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get a KNN query object for the given distance function.
|
static <O,D extends Distance<D>> |
QueryUtil.getKNNQuery(Relation<O> relation,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get a KNN query object for the given distance function.
|
static <O,D extends Distance<D>> |
QueryUtil.getRangeQuery(Database database,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get a range query object for the given distance function.
|
static <O,D extends Distance<D>> |
QueryUtil.getRangeQuery(Relation<O> relation,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get a range query object for the given distance function.
|
static <O,D extends Distance<D>> |
QueryUtil.getRKNNQuery(Relation<O> relation,
DistanceFunction<? super O,D> distanceFunction,
Object... hints)
Get a rKNN query object for the given distance function.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super O,D> |
DistanceQuery.getDistanceFunction()
Get the inner distance function.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DistanceUtil.isDoubleDistanceFunction(DistanceFunction<?,?> df)
Test whether a distance function is double-valued.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractIndexBasedDistanceFunction.Instance<O,I extends Index,D extends Distance<D>,F extends DistanceFunction<? super O,D>>
The actual instance bound to a particular database.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DBIDDistanceFunction<D extends Distance<?>>
Distance functions valid in a database context only (i.e. for DBIDs)
For any "distance" that cannot be computed for arbitrary objects, only those
that exist in the database and referenced by their ID.
|
interface |
DoubleNorm<O>
Interface for norms in the double domain.
|
interface |
FilteredLocalPCABasedDistanceFunction<O extends NumberVector<?>,P extends FilteredLocalPCAIndex<? super O>,D extends Distance<D>>
Interface for local PCA based preprocessors.
|
interface |
IndexBasedDistanceFunction<O,D extends Distance<D>>
Distance function relying on an index (such as preprocessed neighborhoods).
|
interface |
Norm<O,D extends Distance<D>>
Abstract interface for a mathematical norm.
|
interface |
NumberVectorDistanceFunction<D extends Distance<D>>
Base interface for the common case of distance functions defined on numerical vectors.
|
interface |
PrimitiveDistanceFunction<O,D extends Distance<?>>
Primitive distance function that is defined on some kind of object.
|
interface |
PrimitiveDoubleDistanceFunction<O>
Interface for distance functions that can provide a raw double value.
|
interface |
SpatialPrimitiveDistanceFunction<V extends SpatialComparable,D extends Distance<D>>
API for a spatial primitive distance function.
|
interface |
SpatialPrimitiveDoubleDistanceFunction<V extends SpatialComparable>
Interface combining spatial primitive distance functions with primitive
number distance functions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatabaseDistanceFunction<O,D extends Distance<D>>
Abstract super class for distance functions needing a database context.
|
class |
AbstractDBIDDistanceFunction<D extends Distance<D>>
AbstractDistanceFunction provides some methods valid for any extending class.
|
class |
AbstractIndexBasedDistanceFunction<O,I extends Index,D extends Distance<D>>
Abstract super class for distance functions needing a database index.
|
class |
AbstractPrimitiveDistanceFunction<O,D extends Distance<D>>
AbstractDistanceFunction provides some methods valid for any extending class.
|
class |
AbstractVectorDoubleDistanceFunction
Abstract base class for the most common family of distance functions: defined
on number vectors and returning double values.
|
class |
AbstractVectorDoubleDistanceNorm
Abstract base class for double-valued number-vector-based distances based on
norms.
|
class |
ArcCosineDistanceFunction
Cosine distance function for feature vectors.
|
class |
CanberraDistanceFunction
Canberra distance function, a variation of Manhattan distance.
|
class |
CosineDistanceFunction
Cosine distance function for feature vectors.
|
class |
EuclideanDistanceFunction
Provides the Euclidean distance for FeatureVectors.
|
class |
JeffreyDivergenceDistanceFunction
Provides the Jeffrey Divergence Distance for FeatureVectors.
|
class |
LocallyWeightedDistanceFunction<V extends NumberVector<?>>
Provides a locally weighted distance function.
|
class |
LPNormDistanceFunction
Provides a LP-Norm for FeatureVectors.
|
class |
ManhattanDistanceFunction
Manhattan distance function to compute the Manhattan distance for a pair of
FeatureVectors.
|
class |
MaximumDistanceFunction
Maximum distance function to compute the Maximum distance for a pair of
FeatureVectors.
|
class |
MinimumDistanceFunction
Maximum distance function to compute the Minimum distance for a pair of
FeatureVectors.
|
class |
MinKDistance<O,D extends Distance<D>>
A distance that is at least the distance to the kth nearest neighbor.
|
class |
ProxyDistanceFunction<O,D extends Distance<D>>
Distance function to proxy computations to another distance (that probably
was run before).
|
class |
RandomStableDistanceFunction
This is a dummy distance providing random values (obviously not metrical),
useful mostly for unit tests and baseline evaluations: obviously this
distance provides no benefit whatsoever.
|
class |
SharedNearestNeighborJaccardDistanceFunction<O>
SharedNearestNeighborJaccardDistanceFunction computes the Jaccard
coefficient, which is a proper distance metric.
|
class |
SparseEuclideanDistanceFunction
Euclidean distance function.
|
class |
SparseLPNormDistanceFunction
Provides a LP-Norm for FeatureVectors.
|
class |
SparseManhattanDistanceFunction
Manhattan distance function.
|
class |
SparseMaximumDistanceFunction
Maximum distance function.
|
class |
SquaredEuclideanDistanceFunction
Provides the squared Euclidean distance for FeatureVectors.
|
class |
WeightedDistanceFunction
Provides the Weighted distance for feature vectors.
|
class |
WeightedLPNormDistanceFunction
Weighted version of the Euclidean distance function.
|
class |
WeightedSquaredEuclideanDistanceFunction
Provides the squared Euclidean distance for FeatureVectors.
|
Modifier and Type | Field and Description |
---|---|
(package private) DistanceFunction<? super O,D> |
AbstractDatabaseDistanceFunction.Instance.parent
Parent distance
|
protected F |
AbstractIndexBasedDistanceFunction.Instance.parent
Our parent distance function
|
protected DistanceFunction<? super O,D> |
MinKDistance.parentDistance
The distance function to determine the exact distance.
|
protected DistanceFunction<? super O,D> |
MinKDistance.Parameterizer.parentDistance
The distance function to determine the exact distance.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super O,D> |
AbstractDatabaseDistanceFunction.Instance.getDistanceFunction() |
DistanceFunction<? super T,D> |
MinKDistance.Instance.getDistanceFunction() |
static <V,T extends V,D extends Distance<D>> |
ProxyDistanceFunction.unwrapDistance(DistanceFunction<V,D> dfun)
Helper function, to resolve any wrapped Proxy Distances
|
Modifier and Type | Method and Description |
---|---|
static <V,T extends V,D extends Distance<D>> |
ProxyDistanceFunction.unwrapDistance(DistanceFunction<V,D> dfun)
Helper function, to resolve any wrapped Proxy Distances
|
Constructor and Description |
---|
AbstractDatabaseDistanceFunction.Instance(Relation<O> database,
DistanceFunction<? super O,D> parent)
Constructor.
|
MinKDistance.Instance(Relation<T> relation,
int k,
DistanceFunction<? super O,D> parentDistance)
Constructor.
|
MinKDistance(DistanceFunction<? super O,D> parentDistance,
int k)
Full constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSimilarityAdapter<O>
Adapter from a normalized similarity function to a distance function.
|
class |
SimilarityAdapterArccos<O>
Adapter from a normalized similarity function to a distance function using
arccos(sim) . |
class |
SimilarityAdapterLinear<O>
Adapter from a normalized similarity function to a distance function using
1 - sim . |
class |
SimilarityAdapterLn<O>
Adapter from a normalized similarity function to a distance function using
-log(sim) . |
Constructor and Description |
---|
AbstractSimilarityAdapter.Instance(Relation<O> database,
DistanceFunction<? super O,DoubleDistance> parent,
SimilarityQuery<? super O,? extends NumberDistance<?,?>> similarityQuery)
Constructor.
|
SimilarityAdapterArccos.Instance(Relation<O> database,
DistanceFunction<? super O,DoubleDistance> parent,
SimilarityQuery<O,? extends NumberDistance<?,?>> similarityQuery)
Constructor.
|
SimilarityAdapterLinear.Instance(Relation<O> database,
DistanceFunction<? super O,DoubleDistance> parent,
SimilarityQuery<? super O,? extends NumberDistance<?,?>> similarityQuery)
Constructor.
|
SimilarityAdapterLn.Instance(Relation<O> database,
DistanceFunction<? super O,DoubleDistance> parent,
SimilarityQuery<O,? extends NumberDistance<?,?>> similarityQuery)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
HistogramIntersectionDistanceFunction
Intersection distance for color histograms.
|
class |
HSBHistogramQuadraticDistanceFunction
Distance function for HSB color histograms based on a quadratic form and
color similarity.
|
class |
RGBHistogramQuadraticDistanceFunction
Distance function for RGB color histograms based on a quadratic form and
color similarity.
|
Modifier and Type | Class and Description |
---|---|
class |
ERiCDistanceFunction
Provides a distance function for building the hierarchy in the ERiC
algorithm.
|
class |
PCABasedCorrelationDistanceFunction
Provides the correlation distance for real valued vectors.
|
class |
PearsonCorrelationDistanceFunction
Pearson correlation distance function for feature vectors.
|
class |
SquaredPearsonCorrelationDistanceFunction
Squared Pearson correlation distance function for feature vectors.
|
class |
WeightedPearsonCorrelationDistanceFunction
Pearson correlation distance function for feature vectors.
|
class |
WeightedSquaredPearsonCorrelationDistanceFunction
Squared Pearson correlation distance function for feature vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
DiskCacheBasedDoubleDistanceFunction
Provides a DistanceFunction that is based on double distances given by a
distance matrix of an external file.
|
class |
DiskCacheBasedFloatDistanceFunction
Provides a DistanceFunction that is based on float distances given by a
distance matrix of an external file.
|
class |
FileBasedDoubleDistanceFunction
Provides a DistanceFunction that is based on double distances given by a
distance matrix of an external file.
|
class |
FileBasedFloatDistanceFunction
Provides a DistanceFunction that is based on float distances given by a
distance matrix of an external file.
|
Modifier and Type | Class and Description |
---|---|
class |
DimensionSelectingLatLngDistanceFunction
Distance function for 2D vectors in Latitude, Longitude form.
|
class |
LatLngDistanceFunction
Distance function for 2D vectors in Latitude, Longitude form.
|
class |
LngLatDistanceFunction
Distance function for 2D vectors in Longitude, Latitude form.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DimensionSelectingSubspaceDistanceFunction<O,D extends Distance<D>>
Interface for dimension selecting subspace distance functions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDimensionsSelectingDoubleDistanceFunction<V extends FeatureVector<?>>
Provides a distance function that computes the distance (which is a double
distance) between feature vectors only in specified dimensions.
|
class |
AbstractPreferenceVectorBasedCorrelationDistanceFunction<V extends NumberVector<?>,P extends PreferenceVectorIndex<V>>
Abstract super class for all preference vector based correlation distance
functions.
|
class |
DimensionSelectingDistanceFunction
Provides a distance function that computes the distance between feature
vectors as the absolute difference of their values in a specified dimension.
|
class |
DiSHDistanceFunction
Distance function used in the DiSH algorithm.
|
class |
HiSCDistanceFunction<V extends NumberVector<?>>
Distance function used in the HiSC algorithm.
|
class |
LocalSubspaceDistanceFunction
Provides a distance function to determine a kind of correlation distance
between two points, which is a pair consisting of the distance between the
two subspaces spanned by the strong eigenvectors of the two points and the
affine distance between the two subspaces.
|
class |
SubspaceEuclideanDistanceFunction
Provides a distance function that computes the Euclidean distance between
feature vectors only in specified dimensions.
|
class |
SubspaceLPNormDistanceFunction
Provides a distance function that computes the Euclidean distance between
feature vectors only in specified dimensions.
|
class |
SubspaceManhattanDistanceFunction
Provides a distance function that computes the Euclidean distance between
feature vectors only in specified dimensions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEditDistanceFunction
Provides the Edit Distance for FeatureVectors.
|
class |
DTWDistanceFunction
Provides the Dynamic Time Warping distance for FeatureVectors.
|
class |
EDRDistanceFunction
Provides the Edit Distance on Real Sequence distance for FeatureVectors.
|
class |
ERPDistanceFunction
Provides the Edit Distance With Real Penalty distance for FeatureVectors.
|
class |
LCSSDistanceFunction
Provides the Longest Common Subsequence distance for FeatureVectors.
|
Modifier and Type | Method and Description |
---|---|
static <D extends Distance<D>> |
KNNUtil.newHeap(DistanceFunction<?,D> df,
int k)
Create an appropriate heap for the distance function.
|
Modifier and Type | Class and Description |
---|---|
class |
FooKernelFunction
Provides an experimental KernelDistanceFunction for NumberVectors.
|
class |
LinearKernelFunction<O extends NumberVector<?>>
Provides a linear Kernel function that computes a similarity between the two
feature vectors V1 and V2 defined by V1^T*V2.
|
class |
PolynomialKernelFunction
Provides a polynomial Kernel function that computes a similarity between the
two feature vectors V1 and V2 defined by (V1^T*V2)^degree.
|
Modifier and Type | Field and Description |
---|---|
private DistanceFunction<? super O,? extends NumberDistance<?,?>> |
ComputeSimilarityMatrixImage.distanceFunction
The distance function to use
|
private DistanceFunction<O,? extends NumberDistance<?,?>> |
ComputeSimilarityMatrixImage.Parameterizer.distanceFunction
The distance function to use
|
Constructor and Description |
---|
ComputeSimilarityMatrixImage(DistanceFunction<? super O,? extends NumberDistance<?,?>> distanceFunction,
ScalingFunction scaling,
boolean skipzero)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<? super O,D> |
AbstractMaterializeKNNPreprocessor.distanceFunction
The distance function to be used.
|
protected DistanceFunction<? super O,D> |
AbstractMaterializeKNNPreprocessor.Factory.distanceFunction
Hold the distance function to be used.
|
protected DistanceFunction<? super O,D> |
AbstractMaterializeKNNPreprocessor.Factory.Parameterizer.distanceFunction
Hold the distance function to be used.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super O,D> |
AbstractMaterializeKNNPreprocessor.Factory.getDistanceFunction()
Get the distance function.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<NV,DoubleDistance> |
AbstractFilteredPCAIndex.Factory.pcaDistanceFunction
Holds the instance of the distance function specified by
AbstractFilteredPCAIndex.Factory.PCA_DISTANCE_ID . |
protected DistanceFunction<NV,DoubleDistance> |
AbstractFilteredPCAIndex.Factory.Parameterizer.pcaDistanceFunction
Holds the instance of the distance function specified by
AbstractFilteredPCAIndex.Factory.PCA_DISTANCE_ID . |
Constructor and Description |
---|
AbstractFilteredPCAIndex.Factory(DistanceFunction<NV,DoubleDistance> pcaDistanceFunction,
PCAFilteredRunner<NV> pca)
Constructor.
|
KNNQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction,
PCAFilteredRunner<V> pca,
Integer k)
Constructor.
|
RangeQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction,
PCAFilteredRunner<V> pca,
DoubleDistance epsilon)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<O,D> |
SharedNearestNeighborPreprocessor.distanceFunction
Hold the distance function to be used.
|
protected DistanceFunction<O,D> |
SharedNearestNeighborPreprocessor.Factory.distanceFunction
Hold the distance function to be used.
|
protected DistanceFunction<O,D> |
SharedNearestNeighborPreprocessor.Factory.Parameterizer.distanceFunction
Hold the distance function to be used.
|
Constructor and Description |
---|
SharedNearestNeighborPreprocessor.Factory(int numberOfNeighbors,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
SharedNearestNeighborPreprocessor(Relation<O> relation,
int numberOfNeighbors,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<NV,D> |
AbstractSubspaceProjectionIndex.rangeQueryDistanceFunction
The distance function for the variance analysis.
|
protected DistanceFunction<NV,D> |
AbstractSubspaceProjectionIndex.Factory.rangeQueryDistanceFunction
The distance function for the variance analysis.
|
protected DistanceFunction<NV,D> |
AbstractSubspaceProjectionIndex.Factory.Parameterizer.rangeQueryDistanceFunction
The distance function for the variance analysis.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSubspaceProjectionIndex.Factory.Parameterizer.configEpsilon(Parameterization config,
DistanceFunction<NV,D> rangeQueryDistanceFunction) |
Constructor and Description |
---|
AbstractSubspaceProjectionIndex.Factory(D epsilon,
DistanceFunction<NV,D> rangeQueryDistanceFunction,
int minpts)
Constructor.
|
AbstractSubspaceProjectionIndex(Relation<NV> relation,
D epsilon,
DistanceFunction<NV,D> rangeQueryDistanceFunction,
int minpts)
Constructor.
|
FourCSubspaceIndex.Factory(D epsilon,
DistanceFunction<V,D> rangeQueryDistanceFunction,
int minpts,
PCAFilteredRunner<V> pca)
Constructor.
|
FourCSubspaceIndex(Relation<V> relation,
D epsilon,
DistanceFunction<V,D> rangeQueryDistanceFunction,
int minpts,
PCAFilteredRunner<V> pca)
Full constructor.
|
PreDeConSubspaceIndex.Factory(D epsilon,
DistanceFunction<V,D> rangeQueryDistanceFunction,
int minpts,
double delta)
Constructor.
|
PreDeConSubspaceIndex(Relation<V> relation,
D epsilon,
DistanceFunction<V,D> rangeQueryDistanceFunction,
int minpts,
double delta)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract DistanceFunction<? super O,D> |
MetricalIndexTree.getDistanceFunction()
Returns the distance function of this metrical index.
|
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<O,D> |
AbstractMTreeFactory.distanceFunction
Holds the instance of the distance function specified by
AbstractMTreeFactory.DISTANCE_FUNCTION_ID . |
protected DistanceFunction<O,D> |
AbstractMTreeFactory.Parameterizer.distanceFunction |
protected DistanceFunction<O,D> |
AbstractMTree.distanceFunction
Holds the instance of the trees distance function.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<O,D> |
AbstractMTree.getDistanceFunction() |
Constructor and Description |
---|
AbstractMTree(PageFile<N> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
AbstractMTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
Constructor and Description |
---|
AbstractMkTree(PageFile<N> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
AbstractMkTreeUnified(PageFile<N> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
AbstractMkTreeUnifiedFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
Constructor and Description |
---|
MkAppTree(PageFile<MkAppTreeNode<O,D>> pageFile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max,
int p,
boolean log)
Constructor.
|
MkAppTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max,
int p,
boolean log)
Constructor.
|
MkAppTreeIndex(Relation<O> relation,
PageFile<MkAppTreeNode<O,D>> pageFile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max,
int p,
boolean log)
Constructor.
|
Constructor and Description |
---|
MkCoPTree(PageFile<MkCoPTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
MkCopTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
MkCoPTreeIndex(Relation<O> relation,
PageFile<MkCoPTreeNode<O,D>> pageFile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
Constructor and Description |
---|
MkMaxTree(PageFile<MkMaxTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
MkMaxTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
MkMaxTreeIndex(Relation<O> relation,
PageFile<MkMaxTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
Constructor and Description |
---|
MkTabTree(PageFile<MkTabTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
MkTabTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
MkTabTreeIndex(Relation<O> relation,
PageFile<MkTabTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction,
int k_max)
Constructor.
|
Constructor and Description |
---|
MTree(PageFile<MTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
MTreeFactory(String fileName,
int pageSize,
long cacheSize,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
MTreeIndex(Relation<O> relation,
PageFile<MTreeNode<O,D>> pagefile,
DistanceQuery<O,D> distanceQuery,
DistanceFunction<O,D> distanceFunction)
Constructor.
|
Constructor and Description |
---|
DistanceParameter(OptionID optionID,
DistanceFunction<?,D> dist)
Constructs a double parameter with the given optionID.
|
DistanceParameter(OptionID optionID,
DistanceFunction<?,D> dist,
boolean optional)
Constructs a double parameter with the given optionID and optional flag.
|
DistanceParameter(OptionID optionID,
DistanceFunction<?,D> dist,
D defaultValue)
Constructs a double parameter with the given optionID and default value.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiLPNorm
Tutorial example for ELKI.
|
class |
TutorialDistanceFunction
Tutorial example for ELKI.
|
Constructor and Description |
---|
DistanceStddevOutlier(DistanceFunction<? super O,D> distanceFunction,
int k)
Constructor.
|