rocGraph C API documentation#
2025-05-20
2 min read time
Applies to Linux
- Centrality
- PageRank
- Personalized PageRank
- Eigenvector Centrality
- Katz Centrality
- Betweenness Centrality
- Edge Betweenness Centrality
- HITS Centrality
- Centrality Support Functions
rocgraph_centrality_result_get_vertices()
rocgraph_centrality_result_get_values()
rocgraph_centrality_result_get_num_iterations()
rocgraph_centrality_result_converged()
rocgraph_centrality_result_free()
rocgraph_edge_centrality_result_get_src_vertices()
rocgraph_edge_centrality_result_get_dst_vertices()
rocgraph_edge_centrality_result_get_edge_ids()
rocgraph_edge_centrality_result_get_values()
rocgraph_edge_centrality_result_free()
rocgraph_hits_result_get_vertices()
rocgraph_hits_result_get_hubs()
rocgraph_hits_result_get_authorities()
rocgraph_hits_result_get_hub_score_differences()
rocgraph_hits_result_get_number_of_iterations()
rocgraph_hits_result_free()
rocgraph_centrality_result_t
rocgraph_edge_centrality_result_t
rocgraph_hits_result_t
- Community
- Triangle Counting
- Louvain
- Leiden
- ECG
- Extract Egonet
- Balanced Cut
- Spectral Clustering - Modularity Maximization
- Spectral Clustering - Edge Cut
- Community Support Functions
rocgraph_hierarchical_clustering_result_get_vertices()
rocgraph_hierarchical_clustering_result_get_clusters()
rocgraph_hierarchical_clustering_result_get_modularity()
rocgraph_hierarchical_clustering_result_free()
rocgraph_triangle_count_result_get_vertices()
rocgraph_triangle_count_result_get_counts()
rocgraph_triangle_count_result_free()
rocgraph_clustering_result_t
rocgraph_hierarchical_clustering_result_t
rocgraph_triangle_count_result_t
- Core
- Core Number
- K-Core
- Core Support Functions
rocgraph_k_core_degree_type
rocgraph_core_result_create()
rocgraph_core_result_get_vertices()
rocgraph_core_result_get_core_numbers()
rocgraph_core_result_free()
rocgraph_k_core_result_get_src_vertices()
rocgraph_k_core_result_get_dst_vertices()
rocgraph_k_core_result_get_weights()
rocgraph_k_core_result_free()
rocgraph_core_result_t
rocgraph_k_core_result_t
- Components
- Sampling
- Uniform Random Walks
- Biased Random Walks
- Random Walks via Node2Vec
- Node2Vec
- Uniform Neighbor Sampling
- Sampling Support Functions
rocgraph_random_walk_result_get_max_path_length()
rocgraph_random_walk_result_get_paths()
rocgraph_random_walk_result_get_weights()
rocgraph_random_walk_result_get_path_sizes()
rocgraph_random_walk_result_free()
rocgraph_sample_result_get_majors()
rocgraph_sample_result_get_minors()
rocgraph_sample_result_get_major_offsets()
rocgraph_sample_result_get_start_labels()
rocgraph_sample_result_get_edge_id()
rocgraph_sample_result_get_edge_type()
rocgraph_sample_result_get_edge_weight()
rocgraph_sample_result_get_hop()
rocgraph_sample_result_get_label_hop_offsets()
rocgraph_sample_result_get_index()
rocgraph_sample_result_get_renumber_map()
rocgraph_sample_result_get_renumber_map_offsets()
rocgraph_sample_result_free()
rocgraph_test_sample_result_create()
rocgraph_test_uniform_neighborhood_sample_result_create()
rocgraph_sampling_options_create()
rocgraph_sampling_set_retain_seeds()
rocgraph_sampling_set_renumber_results()
rocgraph_sampling_set_compress_per_hop()
rocgraph_sampling_set_with_replacement()
rocgraph_sampling_set_return_hops()
rocgraph_sampling_set_compression_type()
rocgraph_sampling_set_prior_sources_behavior()
rocgraph_sampling_set_dedupe_sources()
rocgraph_sampling_options_free()
rocgraph_select_random_vertices()
rocgraph_random_walk_result_t
rocgraph_sample_result_t
rocgraph_sampling_options_t
- Similarity
- Traversal
Copyright (c) 2025, Advanced Micro Devices, Inc. (License type: MIT) Copyright (c) 2022-2024, NVIDIA CORPORATION. (License type: Apache-2.0)