#include <rmat_edge_generator.hpp>
Classes | |
class | input_iterator_type |
InputIterator class for rmat_edge_generator. More... | |
Public Types | |
typedef uint64_t | vertex_descriptor |
typedef std::pair< uint64_t, uint64_t > | edge_type |
Public Member Functions | |
rmat_edge_generator (uint64_t seed, uint64_t vertex_scale, uint64_t edge_count, double a, double b, double c, double d, bool scramble, bool undirected) | |
seed used to be 5489 More... | |
input_iterator_type | begin () |
Returns the begin of the input iterator. More... | |
input_iterator_type | end () |
Returns the end of the input iterator. More... | |
void | sanity_max_vertex_id () |
uint64_t | max_vertex_id () |
size_t | size () |
Protected Member Functions | |
edge_type | generate_edge () |
Generates a new RMAT edge. This function was adapted from the Boost Graph Library. More... | |
edge_type | generate_edge (boost::uniform_01< boost::mt19937 > &gen) |
Protected Attributes | |
const uint64_t | m_seed |
boost::mt19937 | m_rng |
boost::uniform_01< boost::mt19937 > | m_gen |
const uint64_t | m_vertex_scale |
const uint64_t | m_edge_count |
const bool | m_scramble |
const bool | m_undirected |
const double | m_rmat_a |
const double | m_rmat_b |
const double | m_rmat_c |
const double | m_rmat_d |
RMAT edge generator, based on Boost Graph's RMAT generator
Options include scrambling vertices based on a hash funciton, and symmetrizing the list. Generated edges are not sorted. May contain duplicate and self edges.
Definition at line 68 of file rmat_edge_generator.hpp.
typedef std::pair<uint64_t, uint64_t> havoqgt::rmat_edge_generator::edge_type |
Definition at line 72 of file rmat_edge_generator.hpp.
typedef uint64_t havoqgt::rmat_edge_generator::vertex_descriptor |
Definition at line 71 of file rmat_edge_generator.hpp.
|
inline |
seed used to be 5489
Definition at line 150 of file rmat_edge_generator.hpp.
|
inline |
Returns the begin of the input iterator.
Definition at line 182 of file rmat_edge_generator.hpp.
|
inline |
Returns the end of the input iterator.
Definition at line 187 of file rmat_edge_generator.hpp.
|
inlineprotected |
Generates a new RMAT edge. This function was adapted from the Boost Graph Library.
Definition at line 215 of file rmat_edge_generator.hpp.
|
inlineprotected |
Definition at line 218 of file rmat_edge_generator.hpp.
|
inline |
Definition at line 205 of file rmat_edge_generator.hpp.
|
inline |
Definition at line 191 of file rmat_edge_generator.hpp.
|
inline |
Definition at line 209 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 268 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 266 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 271 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 272 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 273 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 274 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 265 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 269 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 264 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 270 of file rmat_edge_generator.hpp.
|
protected |
Definition at line 267 of file rmat_edge_generator.hpp.