Package com.pnfsoftware.jeb.util.graph
Class Digraph.E
java.lang.Object
com.pnfsoftware.jeb.util.graph.Digraph.E
- Enclosing class:
Digraph
Oriented edge with optional weight.
-
Method Summary
Modifier and TypeMethodDescriptionclone()Create a shallow copy of this edge.getDst()Get the destination vertex.intgetDstId()Get the destination vertex id.intGet the destination vertex index.Get the edge-betweenness score.getScore()Get the temporary edge score used during graph analysis.getSrc()Get the source vertex.intgetSrcId()Get the source vertex id.intGet the source vertex index.Get the edge weight.toString()
-
Method Details
-
getSrc
Get the source vertex.- Returns:
- the source vertex
-
getSrcId
public int getSrcId()Get the source vertex id.- Returns:
- the source vertex id
-
getSrcIndex
public int getSrcIndex()Get the source vertex index.- Returns:
- the source vertex index
-
getDst
Get the destination vertex.- Returns:
- the destination vertex
-
getDstId
public int getDstId()Get the destination vertex id.- Returns:
- the destination vertex id
-
getDstIndex
public int getDstIndex()Get the destination vertex index.- Returns:
- the destination vertex index
-
getWeight
Get the edge weight.- Returns:
- the edge weight, or null if none was assigned
-
getScore
Get the temporary edge score used during graph analysis.- Returns:
- the temporary score, or null if none was computed
-
getEdgeBetweennessScore
Get the edge-betweenness score.- Returns:
- the edge-betweenness score, or null if none was computed
-
clone
Create a shallow copy of this edge. -
toString
-