hipGRAPH C++ API documentation#
2025-05-20
2 min read time
Applies to Linux
- Centrality Functions
- PageRank
- Personalized PageRank
- Eigenvector Centrality
- Katz Centrality
- Betweenness Centrality
- Edge Betweenness Centrality
- HITS Centrality
- Centrality Support Functions
hipgraph_centrality_result_get_vertices()hipgraph_centrality_result_get_values()hipgraph_centrality_result_get_num_iterations()hipgraph_centrality_result_converged()hipgraph_centrality_result_free()hipgraph_edge_centrality_result_get_src_vertices()hipgraph_edge_centrality_result_get_dst_vertices()hipgraph_edge_centrality_result_get_edge_ids()hipgraph_edge_centrality_result_get_values()hipgraph_edge_centrality_result_free()hipgraph_hits_result_get_vertices()hipgraph_hits_result_get_hubs()hipgraph_hits_result_get_authorities()hipgraph_hits_result_get_hub_score_differences()hipgraph_hits_result_get_number_of_iterations()hipgraph_hits_result_free()
- Community Functions
- Triangle Counting
- Louvain
- Leiden
- ECG
- Extract Egonet
- Balanced Cut
- Spectral Clustering - Modularity Maximization
- Spectral Clustering - Edge Cut
- Community Support Functions
hipgraph_triangle_count_result_get_vertices()hipgraph_triangle_count_result_get_counts()hipgraph_triangle_count_result_free()hipgraph_hierarchical_clustering_result_get_vertices()hipgraph_hierarchical_clustering_result_get_clusters()hipgraph_hierarchical_clustering_result_get_modularity()hipgraph_hierarchical_clustering_result_free()
- Core Functions
- Core Number
- K-Core
- Core Support Functions
hipgraph_k_core_degree_type_thipgraph_core_result_create()hipgraph_core_result_get_vertices()hipgraph_core_result_get_core_numbers()hipgraph_core_result_free()hipgraph_k_core_result_get_src_vertices()hipgraph_k_core_result_get_dst_vertices()hipgraph_k_core_result_get_weights()hipgraph_k_core_result_free()
- Labeling Functions
- Sampling Functions
- Uniform Random Walks
- Biased Random Walks
- Random Walks via Node2Vec
- Node2Vec
- Uniform Neighbor Sampling
- Sampling Support Functions
hipgraph_random_walk_result_get_max_path_length()hipgraph_random_walk_result_get_paths()hipgraph_random_walk_result_get_weights()hipgraph_random_walk_result_get_path_sizes()hipgraph_random_walk_result_free()hipgraph_sampling_options_create()hipgraph_sampling_set_renumber_results()hipgraph_sampling_set_compress_per_hop()hipgraph_sampling_set_with_replacement()hipgraph_sampling_set_return_hops()hipgraph_sampling_set_compression_type()hipgraph_sampling_set_prior_sources_behavior()hipgraph_sampling_set_dedupe_sources()hipgraph_sampling_options_free()hipgraph_sample_result_get_majors()hipgraph_sample_result_get_minors()hipgraph_sample_result_get_major_offsets()hipgraph_sample_result_get_start_labels()hipgraph_sample_result_get_edge_id()hipgraph_sample_result_get_edge_type()hipgraph_sample_result_get_edge_weight()hipgraph_sample_result_get_hop()hipgraph_sample_result_get_label_hop_offsets()hipgraph_sample_result_get_index()hipgraph_sample_result_get_renumber_map()hipgraph_sample_result_get_renumber_map_offsets()hipgraph_sample_result_free()hipgraph_test_sample_result_create()hipgraph_test_uniform_neighborhood_sample_result_create()hipgraph_select_random_vertices()
- Similarity Functions
- Traversal Functions