10 #ifndef META_GRAPH_ALGORITHMS_MODEL_H_
11 #define META_GRAPH_ALGORITHMS_MODEL_H_
27 template <
class Graph>
28 void random_graph(Graph& g, uint64_t num_nodes, uint64_t num_edges);
36 template <
class Graph>
37 void watts_strogatz(Graph& g, uint64_t num_nodes, uint64_t num_neighbors,
38 uint64_t num_random_edges);
50 template <
class Graph>
51 void preferential_attachment(Graph& g, uint64_t num_nodes, uint64_t node_edges,
52 std::function<
double(node_id)> attr = [](node_id) {
return 1.0; });