1#ifndef FPMAS_RANDOM_GRAPH_BUILDER_H
2#define FPMAS_RANDOM_GRAPH_BUILDER_H
10namespace fpmas {
namespace graph {
36 template<
typename Generator_t,
typename EdgeDist>
38 Generator_t& generator,
39 EdgeDist& edge_distribution) :
45 num_edge([&generator, &edge_distribution] () {
46 return edge_distribution(generator);
Definition: random_graph_builder.h:19
std::function< std::size_t()> num_edge
Definition: random_graph_builder.h:24
static void seed(random::mt19937_64::result_type seed)
Definition: random_graph_builder.cpp:7
static random::mt19937_64 rd
Definition: random_graph_builder.h:59
RandomGraphBuilder(Generator_t &generator, EdgeDist &edge_distribution)
Definition: random_graph_builder.h:37
static random::DistributedGenerator distributed_rd
Definition: random_graph_builder.h:52
Definition: generator.h:322
Definition: generator.h:113
UniformRandomBitGenerator< Generator_t >::result_type result_type
Definition: generator.h:120