Distance Functions

ELKI release 0.8.0 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 NumberVectorDistance and can save yourself some work by deriving from AbstractNumberVectorDistance, 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.