Skip to main content

Functions

Every page below is generated from its unified GPU catalog descriptor.

The live catalog contains 27 SQL-visible cuGraph functions.

FunctionFamilyDescriptionOfficial API
Betweenness CentralityCentralityMeasure how often each vertex lies on shortest paths between other vertex pairs, exactly or from an explicit sample of source vertices.C API
BFSTraversal & PathsVisit reachable vertices in increasing unweighted hop distance from one or more sources, returning distances and optional predecessors.C API
Core NumberStructureAssign each vertex the largest k for which it belongs to a k-core, where every vertex has degree at least k within that subgraph.C API
CosineSimilarityCompare the neighbor vectors of explicit vertex pairs using cosine similarity, with optional edge-weight contributions.Python API
Degrees AllStructureCount both incoming and outgoing edges for every vertex in the graph.Python API
ECGCommunity DetectionStabilize community assignments by combining an ensemble of randomized Louvain partitions into a final consensus clustering.C API
Edge Betweenness CentralityCentralityMeasure how often each edge lies on shortest paths between vertex pairs, exactly or from an explicit sample of source vertices.C API
Eigenvector CentralityCentralityScore vertices by connections to other high-scoring vertices, using power iteration to find the dominant eigenvector.C API
ForceAtlas2LayoutPlace vertices in two dimensions with a force-directed simulation that attracts connected vertices and repels vertices from one another.Python API
HITSCentralityCompute mutually reinforcing hub and authority scores: strong hubs point to strong authorities, and strong authorities are linked from strong hubs.C API
In Degrees AllStructureCount incoming edges for every vertex in the graph.Python API
JaccardSimilarityCompare explicit vertex pairs by dividing the size of their shared-neighbor intersection by the size of their neighbor union.C API
K-CoreStructureReturn the edges of the maximal subgraph whose vertices each have degree at least k within that subgraph.C API
Katz CentralityCentralityScore vertices from the number of walks that reach them, attenuating longer walks and adding a baseline contribution.C API
LeidenCommunity DetectionFind modularity-based communities with refinement steps that improve the internal connectedness of the partitions.C API
LouvainCommunity DetectionBuild a hierarchy of communities by greedily moving vertices and aggregating partitions to maximize modularity.C API
Minimum Spanning TreeConnectivitySelect a minimum-total-weight acyclic edge set, producing a spanning tree for a connected graph or a spanning forest otherwise.Python API
Out Degrees AllStructureCount outgoing edges for every vertex in the graph.Python API
OverlapSimilarityCompare explicit vertex pairs by dividing their shared-neighbor count by the smaller of their two neighbor counts.C API
PageRankCentralityRank vertices by the stationary probability of a damped random walk that follows outgoing edges.C API
Personalized PageRankCentralityRank vertices with PageRank while biasing random-walk restarts toward explicitly weighted personalization vertices.C API
SorensenSimilarityCompare explicit vertex pairs as twice their shared-neighbor count divided by the sum of their neighbor counts.C API
Spectral Modularity MaximizationCommunity DetectionPartition vertices by embedding the graph with leading modularity eigenvectors and clustering that embedding with k-means.C API
SSSPTraversal & PathsCompute minimum path distances and predecessors from one source vertex, using edges.weight or unit cost 1 when that field is omitted.C API
Strongly Connected ComponentsConnectivityLabel maximal directed subgraphs in which every vertex is reachable from every other vertex.C API
Triangle Count AllStructureCount the number of three-vertex cycles incident to every vertex in the graph.C API
Weakly Connected ComponentsConnectivityLabel maximal connected subgraphs after treating directed edges as undirected.C API