Package com.pnfsoftware.jeb.util.graph
Class Digraph.V
java.lang.Object
com.pnfsoftware.jeb.util.graph.Digraph.V
- Enclosing class:
- Digraph
Vertex of a directed graph. Additional attributes include: weight, label, centrality score.
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
getId()
getLabel()
void
normalizeVertexCentralityScore
(double divider) Divide and set the current VC-score by the provider divider, ensuring that0 <= |VC-score| <= 1
.void
void
setVertexCentralityScore
(Double vcscore) void
toString()
-
Method Details
-
getId
public int getId() -
getWeight
-
setWeight
-
getLabel
-
setLabel
-
getVertexCentralityScore
-
setVertexCentralityScore
-
normalizeVertexCentralityScore
public void normalizeVertexCentralityScore(double divider) Divide and set the current VC-score by the provider divider, ensuring that0 <= |VC-score| <= 1
. Note: a VC-score must have been previously set- Parameters:
divider
- non-zero divider
-
clone
-
toString
-