public interface Score<T> extends Comparable<Score<?>>
| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(Score<?> o)
Compares scores, sorting higher scores to the top.
|
T |
node()
The name of graph node
|
int |
nodeId()
The integer index of the node in the underlying graph.
|
double |
score()
The score of the graph node, relative to others.
|
T node()
double score()
int nodeId()
default int compareTo(Score<?> o)
compareTo in interface Comparable<Score<?>>o - Another scoreCopyright © 2010–2019 Mastfrog Technologies. All rights reserved.