Distance Functions

ELKI release 0.7.5 includes the following distance functions

Similarity Functions as Distances

Similarity functions usable through the adapter classes above include:

Implementing custom distance funtions

When implementing custom distance functions, ask yourself the following questions first:

Most likely, you will be implementing a NumberVectorDistanceFunction and can save yourself some work by deriving from AbstractNumberVectorDistanceFunction, for example for distances defined in coordinate vectors.

The Tutorial on writing a custom distance function takes you through all the steps needed for implementing a custom distance function.