Package networkx :: Package readwrite :: Module sparsegraph6
[hide private]
[frames] | no frames]

Module sparsegraph6

source code

Read graphs in graph6 and sparse6 format. See http://cs.anu.edu.au/~bdm/data/formats.txt


Date:  

Author: Aric Hagberg (hagberg@lanl.gov)

Functions [hide private]
 
read_graph6_list(path)
Read simple undirected graphs in graph6 format from path.
source code
 
read_graph6(path)
Read simple undirected graphs in graph6 format from path.
source code
 
read_sparse6_list(path)
Read simple undirected graphs in sparse6 format from path.
source code
 
read_sparse6(path)
Read simple undirected graphs in sparse6 format from path.
source code
 
graph6data(str)
Convert graph6 character sequence to 6-bit integers.
source code
 
graph6n(data)
Read initial one or four-unit value from graph6 sequence.
source code
 
parse_graph6(str)
Read undirected graph in graph6 format.
source code
 
parse_sparse6(str)
Read undirected graph in sparse6 format.
source code
 
_test_suite() source code
Variables [hide private]
  __credits__ = ''
  __revision__ = ''
Function Details [hide private]

read_graph6_list(path)

source code 
Read simple undirected graphs in graph6 format from path. Returns a list of Graphs, one for each line in file.

read_graph6(path)

source code 
Read simple undirected graphs in graph6 format from path. Returns a single Graph.

read_sparse6_list(path)

source code 
Read simple undirected graphs in sparse6 format from path. Returns a list of Graphs, one for each line in file.

read_sparse6(path)

source code 
Read simple undirected graphs in sparse6 format from path. Returns a single Graph.

graph6n(data)

source code 
Read initial one or four-unit value from graph6 sequence. Return value, rest of seq.