public class

Digraph.V

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.graph.Digraph.V

Class Overview

Vertex of a directed graph. Additional attributes include: weight, label, centrality score.

Summary

Public Methods
Digraph.V clone()
int getId()
String getLabel()
Double getVertexCentralityScore()
Double getWeight()
void normalizeVertexCentralityScore(double divider)
Divide and set the current VC-score by the provider divider, ensuring that 0 <= |VC-score| <= 1.
void setLabel(String label)
void setVertexCentralityScore(Double vcscore)
void setWeight(Double weight)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Digraph.V clone ()

public int getId ()

public String getLabel ()

public Double getVertexCentralityScore ()

public Double getWeight ()

public void normalizeVertexCentralityScore (double divider)

Divide and set the current VC-score by the provider divider, ensuring that 0 <= |VC-score| <= 1. Note: a VC-score must have been previously set

Parameters
divider non-zero divider

public void setLabel (String label)

public void setVertexCentralityScore (Double vcscore)

public void setWeight (Double weight)

public String toString ()