Functor which generates the unordered_map adjacency list.
More...
|
| wf_generate_dag_neighbors (size_t num_vertices, size_t max_degree) |
|
template<typename UMapView > |
void | operator() (size_t v_id, UMapView &view) |
|
|
size_t | m_num_vertices |
|
size_t | m_max_degree |
|
|
size_t | rand (void) |
| Generates a random number in the range [0, numeric_limits<size_t>::max()).
|
|
size_t | rand (size_t max) |
| Generates a random number in the range [0, max). More...
|
|
size_t | rand (size_t min, size_t max) |
| Generates a random number in the range [min, max). More...
|
|
|
typedef boost::random::uniform_int_distribution< size_t > | rng_dist_t |
|
|
boost::random::mt19937 | m_rng |
|
template<typename UMapTargets>
struct stapl::generators::detail::wf_generate_dag_neighbors< UMapTargets >
Functor which generates the unordered_map adjacency list.
◆ rand() [1/2]
size_t stapl::generators::rand_gen::rand |
( |
size_t |
max | ) |
|
|
inherited |
Generates a random number in the range [0, max).
- Parameters
-
max | The maximum value of the output random number (exclusive). |
◆ rand() [2/2]
size_t stapl::generators::rand_gen::rand |
( |
size_t |
min, |
|
|
size_t |
max |
|
) |
| |
|
inherited |
Generates a random number in the range [min, max).
- Parameters
-
min | The minimum value of the output random number. |
max | The maximum value of the output random number (exclusive). |
The documentation for this struct was generated from the following file: