Constructing a Distance Sensitivity Oracle in $O(n^{2.5794}M)$ Time
Abstract
We continue the study of distance sensitivity oracles (DSOs). Given a directed graph with vertices and edge weights in , we want to build a data structure such that given any source vertex , any target vertex , and any failure (which is either a vertex or an edge), it outputs the length of the shortest path from to not going through . Our main result is a DSO with preprocessing time and constant query time. Previously, the best preprocessing time of DSOs for directed graphs is , and even in the easier case of undirected graphs, the best preprocessing time is [Ren, ESA 2020]. One drawback of our DSOs, though, is that it only supports distance queries but not path queries. Our main technical ingredient is an algorithm that computes the inverse of a degree- polynomial matrix (i.e. a matrix whose entries are degree- univariate polynomials) modulo . The algorithm is adapted from [Zhou, Labahn, and Storjohann, Journal of Complexity, 2015], and we replace some of its intermediate steps with faster rectangular matrix multiplication algorithms. We also show how to compute unique shortest paths in a directed graph with edge weights in , in time. This algorithm is crucial in the preprocessing algorithm of our DSO. Our solution improves the time bound in [Ren, ESA 2020], and matches the current best time bound for computing all-pairs shortest paths.
Cite
@article{arxiv.2102.08569,
title = {Constructing a Distance Sensitivity Oracle in $O(n^{2.5794}M)$ Time},
author = {Yong Gu and Hanlin Ren},
journal= {arXiv preprint arXiv:2102.08569},
year = {2021}
}
Comments
accepted to ICALP 2021