generator.make_special_graphs

Produce connected graphs of special classes.

 
Modules
       
argparse
networkx.algorithms.bipartite
errno
networkx
os
random
sys
warnings

 
Functions
       
main_barbell(args)
Print random barbell graph to graphml-file.
main_bipartite(args)
Print random bipartite graphs to graphml-file.
main_circ_ladder(args)
Print circular ladder graph to graphml-file.
main_grid(args)
Print 2d grid graph to graphml-file.
main_hypercube(args)
Print hypercube graph to graphml-file.
main_ladder(args)
Print ladder graph to graphml-file.
main_regular(args)
Print random regular graphs to graphml-file.
main_star(args)
Print star graph to graphml-file.
main_wheel(args)
Print wheel graph to graphml-file.
makeBipartiteConnected(G)
Add edges between components of G, delete same number of arbitrary edges.