Class Digraph.E

java.lang.Object
com.pnfsoftware.jeb.util.graph.Digraph.E
Enclosing class:
Digraph

public static class Digraph.E extends Object
Oriented edge with optional weight.
  • Method Details

    • getSrc

      public Digraph.V 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

      public Digraph.V 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

      public Double getWeight()
      Get the edge weight.
      Returns:
      the edge weight, or null if none was assigned
    • getScore

      public Double getScore()
      Get the temporary edge score used during graph analysis.
      Returns:
      the temporary score, or null if none was computed
    • getEdgeBetweennessScore

      public Double getEdgeBetweennessScore()
      Get the edge-betweenness score.
      Returns:
      the edge-betweenness score, or null if none was computed
    • clone

      public Digraph.E clone()
      Create a shallow copy of this edge.
      Overrides:
      clone in class Object
      Returns:
      a copy of this edge referencing the same endpoint vertices
    • toString

      public String toString()
      Overrides:
      toString in class Object