Interface Edge

All Superinterfaces:
GraphObject
All Known Implementing Classes:
AbstractEdge, EdgeL3, EdgeL3

public interface Edge extends GraphObject
Wrapper interface for edges in a graph to be queried.
Author:
Ozgun Babur
  • Method Details

    • getTargetNode

      Node getTargetNode()
      Returns:
      The target node
    • getSourceNode

      Node getSourceNode()
      Returns:
      The source node
    • getSign

      int getSign()
      Algorithms may need a sign for the edge. 1: positive, -1 negative, 0: signless.
      Returns:
      The sign of the edge
    • isTranscription

      boolean isTranscription()
      Returns:
      Whether this edge indicates a transcriptional relation