| Constructor and Description |
|---|
CosinusDistanceComparator(double x1,
double x2) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Node<T,V> first,
Node<T,V> second)
Compares the cosine distance of two nodes to x.
|
double |
cosineSimilarity(double f,
double u)
Cosine similarity to x.
|