Type Alias Similarity<V>

Similarity<V>: ((a: V, b: V) => number)

Returns the similarity of a and b to each other, where higher similarity should be a higher number.

Type Parameters

  • V