edu.uci.ics.jung.algorithms.importance
Class NodeRanking

java.lang.Object
  extended byedu.uci.ics.jung.algorithms.importance.Ranking
      extended byedu.uci.ics.jung.algorithms.importance.NodeRanking
All Implemented Interfaces:
java.lang.Comparable

public class NodeRanking
extends Ranking

A data container for a node ranking.

Author:
Scott White

Field Summary
 Vertex vertex
          The vertex being ranked
 
Fields inherited from class edu.uci.ics.jung.algorithms.importance.Ranking
originalPos, rankScore
 
Constructor Summary
NodeRanking(int originalPos, double rankScore, Vertex vertex)
          Allows the values to be set on construction.
 
Methods inherited from class edu.uci.ics.jung.algorithms.importance.Ranking
compareTo, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vertex

public Vertex vertex
The vertex being ranked

Constructor Detail

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 ranked
rankScore - The actual rank score (normally between 0 and 1)
vertex - The vertex being ranked