public class NodeRanking extends Ranking
| Modifier and Type | Field and Description |
|---|---|
Vertex |
vertex
The vertex being ranked
|
originalPos, rankScore| Constructor and Description |
|---|
NodeRanking(int originalPos,
double rankScore,
Vertex vertex)
Allows the values to be set on construction.
|
public Vertex vertex
public NodeRanking(int originalPos,
double rankScore,
Vertex vertex)
originalPos - The original (0-indexed) position of the instance being rankedrankScore - The actual rank score (normally between 0 and 1)vertex - The vertex being ranked