A stable implementation of watts_strogatz that generates the the same random Watts-Strogatz graph for a specified number of simulated processors (irrespective to the actual number of processes being run on). More...
Public Member Functions | |
| watts_strogatz_stable (G &g, size_t k, double p) | |
| void | add_edges (size_t simulated_procs) |
| size_t | generate_random (size_t source) |
Protected Attributes | |
| G & | m_graph |
| size_t | m_n |
| size_t | m_k |
| double | m_p |
A stable implementation of watts_strogatz that generates the the same random Watts-Strogatz graph for a specified number of simulated processors (irrespective to the actual number of processes being run on).
1.8.13