Blog

Oct 15, 2025

Finding Shortest Paths Faster With Less Data

WormHole is a two-phase algorithm for answering many shortest-path queries on large, power-law (core-periphery) networks with limited node access. It first preprocesses just enough of the graph to extract a dense, sublinear “inner ring” core. At query time, it runs truncated BiBFS to detect same-community cases; otherwise it routes both ends to the outer ring, hops into the inner ring, and finds a path there—returning exact paths in common cases and near-shortest paths otherwise. The payoff: far fewer node queries and memory, fast responses, and low mean additive error across queries.

Source: HackerNoon →


Share

BTCBTC
$71,054.00
0.1%
ETHETH
$2,099.07
0.46%
USDTUSDT
$1.00
0.01%
BNBBNB
$656.45
0.33%
XRPXRP
$1.40
0.18%
USDCUSDC
$1.000
0.01%
SOLSOL
$88.43
1.09%
TRXTRX
$0.294
1.31%
FIGR_HELOCFIGR_HELOC
$1.02
1.4%
DOGEDOGE
$0.0959
0.28%
WBTWBT
$55.61
0.34%
USDSUSDS
$1.000
0.01%
ADAADA
$0.266
1.55%
BCHBCH
$459.95
1.5%
HYPEHYPE
$37.05
3.44%
LEOLEO
$9.08
0.1%
XMRXMR
$362.70
1.01%
LINKLINK
$9.11
1.4%
USDEUSDE
$1.00
0.05%
CCCC
$0.155
4.42%