Submitted:
02 November 2026
Posted:
04 November 2026
You are already at the latest version
Abstract
Connectivity laws conserved across systems, independently of edge weights, are compelling in network science. Many network metrics aggregate information counting all shortest-paths between node pairs, which is costly. Here we formalize the all-pairs shortest-path number (APSPN) problem and establish a shared computational foundation for these kinds of problems, including betweenness centrality (BC) and geometrical congruence (GC). We introduce the CC-APSPN kernel, which exploits network science principles to accelerate their shared computations on unweighted graphs via knowledge memoization, reducing runtime by up to 90% over the Brandes-APSPN baseline across diverse network topologies. Parallel CC-APSPN carries this acceleration onto multicore CPUs through batched source processing with a dedicated scheduling strategy, reducing exact BC and GC runtimes from hours to a few minutes on a 100,000-node network. Besides, we propose CC-bbBFS, a single-pair primitive for efficient sampling-based approximation of BC and GC. Together, these advances translate network-science-informed algorithm design into practical large-scale analysis.
Keywords:
shortest-paths count
; network science
; betweenness centrality
; geometrical congruence
; breadth-first search
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.