Distance Functions

ELKI release 0.6.0~20141030 includes the following distance functions

Similarity Functions

Similarity functions usable through the adapter classes above are:

Implementing custom distance funtions

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

Most likely, you will be implementing a PrimitiveDistanceFunction and can save yourself some work by deriving from AbstractPrimitiveDistanceFunction, 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.