27
27
/* * @defgroup graph_generators_cpp C++ Graph Generators
28
28
*/
29
29
30
- /* * @ingroup graph_generators_cpp
31
- * @{
32
- */
33
-
34
30
namespace cugraph {
35
31
36
32
/* *
33
+ * @ingroup graph_generators_cpp
37
34
* @brief generate an edge list for an R-mat graph.
38
35
* @deprecated This function will be deprectated and should be replaced with the version that takes
39
36
* raft::random::RngState as a parameter
@@ -92,6 +89,7 @@ std::tuple<rmm::device_uvector<vertex_t>, rmm::device_uvector<vertex_t>> generat
92
89
bool scramble_vertex_ids = false );
93
90
94
91
/* *
92
+ * @ingroup graph_generators_cpp
95
93
* @brief generate an edge list for an R-mat graph.
96
94
*
97
95
* This function allows multi-edges and self-loops similar to the Graph 500 reference
@@ -143,6 +141,7 @@ std::tuple<rmm::device_uvector<vertex_t>, rmm::device_uvector<vertex_t>> generat
143
141
bool scramble_vertex_ids = false );
144
142
145
143
/* *
144
+ * @ingroup graph_generators_cpp
146
145
* @brief generate an edge list for a bipartite R-mat graph.
147
146
*
148
147
* The source vertex IDs will be in the range of [0, 2^src_scale) and the destination vertex IDs
@@ -184,6 +183,7 @@ generate_bipartite_rmat_edgelist(raft::handle_t const& handle,
184
183
enum class generator_distribution_t { POWER_LAW = 0 , UNIFORM };
185
184
186
185
/* *
186
+ * @ingroup graph_generators_cpp
187
187
* @brief generate multiple edge lists using the R-mat graph generator.
188
188
* @deprecated This function will be deprectated and should be replaced with the version that takes
189
189
*raft::random::RngState as a parameter
@@ -236,6 +236,7 @@ generate_rmat_edgelists(
236
236
bool scramble_vertex_ids = false );
237
237
238
238
/* *
239
+ * @ingroup graph_generators_cpp
239
240
* @brief generate multiple edge lists using the R-mat graph generator.
240
241
*
241
242
* This function allows multi-edges and self-loops similar to the Graph 500 reference
@@ -286,6 +287,7 @@ generate_rmat_edgelists(
286
287
bool scramble_vertex_ids = false );
287
288
288
289
/* *
290
+ * @ingroup graph_generators_cpp
289
291
* @brief generate an edge list for path graph
290
292
*
291
293
* A path graph of size n connects the vertices from 0 to (n - 1)
@@ -315,6 +317,7 @@ generate_path_graph_edgelist(
315
317
std::vector<std::tuple<vertex_t , vertex_t >> const & component_parameters_v);
316
318
317
319
/* *
320
+ * @ingroup graph_generators_cpp
318
321
* @brief generate an edge list for a 2D Mesh Graph
319
322
*
320
323
* A sequence of 2D mesh graphs will be constructed according to the
@@ -340,6 +343,7 @@ generate_2d_mesh_graph_edgelist(
340
343
std::vector<std::tuple<vertex_t , vertex_t , vertex_t >> const & component_parameters_v);
341
344
342
345
/* *
346
+ * @ingroup graph_generators_cpp
343
347
* @brief generate an edge list for a 3D Mesh Graph
344
348
*
345
349
* A sequence of 3D mesh graphs will be constructed according to the
@@ -365,6 +369,7 @@ generate_3d_mesh_graph_edgelist(
365
369
std::vector<std::tuple<vertex_t , vertex_t , vertex_t , vertex_t >> const & component_parameters_v);
366
370
367
371
/* *
372
+ * @ingroup graph_generators_cpp
368
373
* @brief generate an edge lists for some complete graphs
369
374
*
370
375
* A sequence of complete graphs will be constructed according to the
@@ -390,6 +395,7 @@ generate_complete_graph_edgelist(
390
395
std::vector<std::tuple<vertex_t , vertex_t >> const & component_parameters_v);
391
396
392
397
/* *
398
+ * @ingroup graph_generators_cpp
393
399
* @brief generate an edge lists for an Erdos-Renyi graph
394
400
*
395
401
* This API supports the G(n,p) model which requires O(n^2) work.
@@ -417,6 +423,7 @@ generate_erdos_renyi_graph_edgelist_gnp(raft::handle_t const& handle,
417
423
uint64_t seed = 0 );
418
424
419
425
/* *
426
+ * @ingroup graph_generators_cpp
420
427
* @brief generate an edge lists for an Erdos-Renyi graph
421
428
*
422
429
* This API supports the G(n,m) model
@@ -444,6 +451,7 @@ generate_erdos_renyi_graph_edgelist_gnm(raft::handle_t const& handle,
444
451
uint64_t seed = 0 );
445
452
446
453
/* *
454
+ * @ingroup graph_generators_cpp
447
455
* @brief symmetrize an edgelist from the edges in the lower (or upper but not both) triangular part
448
456
* of a graph adjacency matrix
449
457
*
@@ -471,6 +479,7 @@ symmetrize_edgelist_from_triangular(
471
479
bool check_diagonal = false );
472
480
473
481
/* *
482
+ * @ingroup graph_generators_cpp
474
483
* @brief scramble vertex IDs in a graph
475
484
*
476
485
* Given a vertex list for a graph, scramble the input vertex IDs.
@@ -491,6 +500,7 @@ rmm::device_uvector<vertex_t> scramble_vertex_ids(raft::handle_t const& handle,
491
500
size_t lgN);
492
501
493
502
/* *
503
+ * @ingroup graph_generators_cpp
494
504
* @brief scramble vertex ids in a graph
495
505
*
496
506
* Given an edge list for a graph, scramble the input vertex IDs.
@@ -515,6 +525,7 @@ std::tuple<rmm::device_uvector<vertex_t>, rmm::device_uvector<vertex_t>> scrambl
515
525
size_t lgN);
516
526
517
527
/* *
528
+ * @ingroup graph_generators_cpp
518
529
* @brief Combine edgelists from multiple sources into a single edgelist
519
530
*
520
531
* If executed in a multi-gpu context (handle comms has been initialized)
@@ -543,7 +554,3 @@ combine_edgelists(raft::handle_t const& handle,
543
554
bool remove_multi_edges = true );
544
555
545
556
} // namespace cugraph
546
-
547
- /* *
548
- * @}
549
- */
0 commit comments