STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Protected Attributes
stapl::generators::watts_strogatz_stable< G > Struct Template Reference

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
 

Detailed Description

template<typename G>
struct stapl::generators::watts_strogatz_stable< G >

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).


The documentation for this struct was generated from the following file: