networkgen
A python module to create random networks using network models
Usage
$ networkgen <model> <model-args> ...
Network Models
Erdős–Rényi
$ networkgen erdos_renyi <num_nodes> <edge_prob>
Barabási–Albert
$ networkgen barabasi_albert <num_nodes> <initial_num_nodes>
Watts–Strogatz
$ networkgen barabasi_albert <num_nodes> <num_neighbors> <rewire_probability>
Ring Lattice
$ networkgen ring_lattice <num_nodes> <num_neighbors>
TODO: Models
- Erdős–Rényi
- Barabási–Albert
- Watts–Strogatz
- Ring-Lattice
- Complete