libcugraph_c API#
libcugraph_c is the C ABI for libcuGraph. The reference below is generated
from every public API-bearing header in cpp/include/cugraph_c so that data
structures, graph construction, utilities, and algorithms remain synchronized
with the 26.10 nightly library.
libcugraph_c API
- Core types and resources
- Graph construction and utilities
cugraph_create_vertex_pairs()cugraph_vertex_pairs_get_first()cugraph_vertex_pairs_get_second()cugraph_vertex_pairs_free()cugraph_two_hop_neighbors()cugraph_has_vertex()cugraph_induced_subgraph_get_sources()cugraph_induced_subgraph_get_destinations()cugraph_induced_subgraph_get_edge_weights()cugraph_induced_subgraph_get_edge_ids()cugraph_induced_subgraph_get_edge_type_ids()cugraph_induced_subgraph_get_subgraph_offsets()cugraph_induced_subgraph_result_free()cugraph_extract_induced_subgraph()cugraph_allgather()cugraph_count_multi_edges()cugraph_in_degrees()cugraph_out_degrees()cugraph_degrees()cugraph_degrees_result_get_vertices()cugraph_degrees_result_get_in_degrees()cugraph_degrees_result_get_out_degrees()cugraph_degrees_result_free()cugraph_edgelist_get_sources()cugraph_edgelist_get_destinations()cugraph_edgelist_get_edge_weights()cugraph_edgelist_get_edge_ids()cugraph_edgelist_get_edge_type_ids()cugraph_edgelist_get_edge_offsets()cugraph_edgelist_free()cugraph_decompress_to_edgelist()cugraph_extract_vertex_list()cugraph_renumber_arbitrary_edgelist()cugraph_vertex_pairs_tcugraph_induced_subgraph_result_tcugraph_degrees_result_tcugraph_edgelist_tcugraph_generator_distribution_tcugraph_generate_rmat_edgelist()cugraph_generate_rmat_edgelists()cugraph_generate_edge_weights()cugraph_generate_edge_ids()cugraph_generate_edge_types()cugraph_build_edge_id_and_type_to_src_dst_lookup_map()cugraph_lookup_endpoints_from_edge_ids_and_single_type()cugraph_lookup_endpoints_from_edge_ids_and_types()cugraph_lookup_container_tcugraph_lookup_result_t
- Centrality
cugraph_pagerank()cugraph_pagerank_allow_nonconvergence()cugraph_personalized_pagerank()cugraph_personalized_pagerank_allow_nonconvergence()cugraph_eigenvector_centrality()cugraph_katz_centrality()cugraph_betweenness_centrality()cugraph_edge_betweenness_centrality()cugraph_hits()cugraph_centrality_result_tcugraph_edge_centrality_result_tcugraph_hits_result_t
- Community
cugraph_triangle_count()cugraph_louvain()cugraph_leiden()cugraph_ecg()cugraph_extract_ego()cugraph_k_truss_subgraph()cugraph_balanced_cut_clustering()cugraph_spectral_modularity_maximization()cugraph_analyze_clustering_modularity()cugraph_analyze_clustering_edge_cut()cugraph_analyze_clustering_ratio_cut()cugraph_clustering_result_get_vertices()cugraph_clustering_result_get_clusters()cugraph_clustering_result_free()cugraph_triangle_count_result_tcugraph_hierarchical_clustering_result_tcugraph_clustering_result_t
- Core
- Components
- Layout
- Sampling
cugraph_prior_sources_behavior_tcugraph_temporal_sampling_comparison_tcugraph_compression_type_tcugraph_uniform_random_walks()cugraph_biased_random_walks()cugraph_node2vec_random_walks()cugraph_homogeneous_uniform_neighbor_sample()cugraph_homogeneous_biased_neighbor_sample()cugraph_heterogeneous_uniform_neighbor_sample()cugraph_heterogeneous_biased_neighbor_sample()cugraph_homogeneous_uniform_temporal_neighbor_sample()cugraph_homogeneous_biased_temporal_neighbor_sample()cugraph_heterogeneous_uniform_temporal_neighbor_sample()cugraph_heterogeneous_biased_temporal_neighbor_sample()cugraph_sample_result_get_sources()cugraph_sample_result_get_destinations()cugraph_sample_result_get_offsets()cugraph_random_walk_result_tcugraph_sample_result_tcugraph_sampling_options_tsampling_flags_t
- Similarity
cugraph_jaccard_coefficients()cugraph_sorensen_coefficients()cugraph_overlap_coefficients()cugraph_cosine_similarity_coefficients()cugraph_all_pairs_jaccard_coefficients()cugraph_all_pairs_sorensen_coefficients()cugraph_all_pairs_overlap_coefficients()cugraph_all_pairs_cosine_similarity_coefficients()cugraph_similarity_result_t
- Traversal
- Tree algorithms