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

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.Vertex;`
13 |  | ``
14 |  | `/**`
15 |  | `* A data container for a node ranking.`
16 |  | `*`
17 |  | `* @author Scott White`
18 |  | `*/`
19 |  | `public class NodeRanking extends Ranking {`
20 |  | ``
21 |  | `/**`
22 |  | `* Allows the values to be set on construction.`
23 |  | `* @param originalPos The original (0-indexed) position of the instance being ranked`
24 |  | `* @param rankScore The actual rank score (normally between 0 and 1)`
25 |  | `* @param vertex The vertex being ranked`
26 |  | `*/`
27 |  | `public NodeRanking(int originalPos, double rankScore, Vertex vertex) {`
28 | 20110 | `super(originalPos, rankScore);`
29 | 20110 | `this.vertex = vertex;`
30 | 20110 | `}`
31 |  | ``
32 |  | `/**`
33 |  | `* The vertex being ranked`
34 |  | `*/`
35 |  | `public Vertex vertex;`
36 |  | `}`

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.