Class EdgeData

java.lang.Object
com.sparsity.sparksee.gdb.EdgeData

public class EdgeData extends Object
Edge data class.

It stores the tail and the head of an edge instance.

In case of undirected eges, the tail and the head are just the two ends of the edge.

Author:
Sparsity Technologies http://www.sparsity-technologies.com
  • Method Details

    • getHead

      public long getHead()
      Gets the head of the edge.

      Returns:
      The Sparksee edge identifier of the head of the edge.
    • getEdge

      public long getEdge()
      Gets the edge identifier.

      Returns:
      The Sparksee edge identifier.
    • getTail

      public long getTail()
      Gets the tail of the edge.

      Returns:
      The Sparksee edge identifier of the tail of the edge.