edu.uci.ics.jung.algorithms.importance
Class EdgeRanking
java.lang.Object
edu.uci.ics.jung.algorithms.importance.Ranking
edu.uci.ics.jung.algorithms.importance.EdgeRanking
- All Implemented Interfaces:
- Comparable
public class EdgeRanking
- extends Ranking
A data container for an edge ranking which stores:
- the rank score
- the original position of the edge before the ranking were generated
- a reference to the edge itself
- Author:
- Scott White
Field Summary |
Edge |
edge
The edge that was ranked. |
Constructor Summary |
EdgeRanking(int originalPos,
double rankScore,
Edge edge)
Simple constructor that allows all data elements to be initialized on construction. |
edge
public Edge edge
- The edge that was ranked.
EdgeRanking
public EdgeRanking(int originalPos,
double rankScore,
Edge edge)
- Simple constructor that allows all data elements to be initialized on construction.
- Parameters:
originalPos
- the original position of the edge before the ranking were generatedrankScore
- the rank score of this edgeedge
- a reference to the edge that was ranked