We present new algorithms for approximate shortest path computation in weighted undirected graphs within the Massively Parallel Computation (MPC) model. Specifically, we construct an -approximate Single-Source Shortest Path (SSSP) oracle: Given a query consisting of a source vertex , the oracle returns -approximate distances for all . Fix an -vertex weighted undirected graph. We consider two regimes of the MPC model: the near-linear regime, where each machine has memory, and the heterogeneous regime, where all machines have memory for some constant , except for a single machine with memory. We develop randomised algorithms that construct -approximate SSSP oracles in rounds in the near-linear regime and in rounds in the heterogeneous regime. These oracles answer distance queries in rounds. Our results improve upon the recent work of Dory and Matar (SPAA 2024) which, for the same total memory, requires rounds and applies only to unweighted graphs in the heterogeneous setting. We say that is the approximate -nearest neighbourhood of a vertex if there exists an approximate distance estimate such that consists of the vertices closest to according to , breaking ties by vertex ID. The main technical ingredient is a new method for efficiently computing approximate -nearest neighbourhoods in the heterogeneous MPC model in rounds.

生成讲解博客的中文版本

生成AI智能校验的中文版本