SparkseePython  6.0.2
Public Member Functions | List of all members
sparksee.EdgeData Class Reference

Edge data class. More...

Public Member Functions

def get_head (self)
 Gets the head of the edge. More...
 
def get_edge (self)
 Gets the edge identifier. More...
 
def get_tail (self)
 Gets the tail of the edge. More...
 

Detailed Description

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

Member Function Documentation

def sparksee.EdgeData.get_edge (   self)

Gets the edge identifier.

Returns
The Sparksee edge identifier.
def sparksee.EdgeData.get_head (   self)

Gets the head of the edge.

Returns
The Sparksee edge identifier of the head of the edge.
def sparksee.EdgeData.get_tail (   self)

Gets the tail of the edge.

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