# Coverage details for edu.uci.ics.jung.algorithms.importance.EdgeRanking

Line | Hits | Source
--- | --- | ---
1 |  | `/*`
2 |  | `* Copyright (c) 2003, the JUNG Project and the Regents of the University`
3 |  | `* of California`
4 |  | `* All rights reserved.`
5 |  | `*`
6 |  | `* This software is open-source under the BSD license; see either`
7 |  | `* "license.txt" or`
8 |  | `* http://jung.sourceforge.net/license.txt for a description.`
9 |  | `*/`
10 |  | `package edu.uci.ics.jung.algorithms.importance;`
11 |  | ``
12 |  | `import edu.uci.ics.jung.graph.Edge;`
13 |  | ``
14 |  | `/**`
15 |  | `* A data container for an edge ranking which stores:`
16 |  | `* <ul>`
17 |  | `* <li>the rank score</li>`
18 |  | `* <li>the original position of the edge before the ranking were generated</li>`
19 |  | `* <li>a reference to the edge itself</li>`
20 |  | `* </ul>`
21 |  | `*`
22 |  | `* @author Scott White`
23 |  | `*/`
24 |  | `public class EdgeRanking extends Ranking {`
25 |  | `/**`
26 |  | `* The edge that was ranked.`
27 |  | `*/`
28 |  | `public Edge edge;`
29 |  | ``
30 |  | `/**`
31 |  | `* Simple constructor that allows all data elements to be initialized on construction.`
32 |  | `* @param originalPos the original position of the edge before the ranking were generated`
33 |  | `* @param rankScore the rank score of this edge`
34 |  | `* @param edge a reference to the edge that was ranked`
35 |  | `*/`
36 |  | `public EdgeRanking(int originalPos, double rankScore, Edge edge) {`
37 | 60 | `super(originalPos, rankScore);`
38 | 60 | `this.edge = edge;`
39 | 60 | `}`
40 |  | `}`

this report was generated by version 1.0.5 of jcoverage. visit www.jcoverage.com for updates. | copyright © 2003, jcoverage ltd. all rights reserved. Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.