edu.uci.ics.jung.algorithms.importance
Class NodeRanking
java.lang.Object
edu.uci.ics.jung.algorithms.importance.Ranking
edu.uci.ics.jung.algorithms.importance.NodeRanking
- All Implemented Interfaces:
- Comparable
public class NodeRanking
- extends Ranking
A data container for a node ranking.
- Author:
- Scott White
Constructor Summary |
NodeRanking(int originalPos,
double rankScore,
Vertex vertex)
Allows the values to be set on construction. |
vertex
public Vertex vertex
- The vertex being ranked
NodeRanking
public NodeRanking(int originalPos,
double rankScore,
Vertex vertex)
- Allows the values to be set on construction.
- Parameters:
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