GEDLIB  1.0
graphs_of_given_size.py File Reference

Python script that generates a collection of graphs with given number of nodes from directory containing GXL files. More...

Go to the source code of this file.

Detailed Description

Python script that generates a collection of graphs with given number of nodes from directory containing GXL files.

Usage:

$ python graphs_of_given_size.py <dataset> <collection> <dir> <min_size> <max_size> [-h] [--help]

Arguments:

positional arguments
<dataset> path to existing graph collection XML file from which the collection should be generated; must respect GraphCollection.dtd
<collection> path to sample file to be generated by the script
<dir> path to directory containing GXL files
<min_size> minimal number of nodes of graphs in the collection
<max_size> maximal number of nodes of graphs in the collection

Definition in file graphs_of_given_size.py.