arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.16605cs.DScs.DMmath.CO
收藏

在具有稀疏符号树模型的图中快速计算最短路径及其应用

Fast Shortest Path in Graphs With Sparse Signed Tree Models and Applications

CNRS, ENS de Lyon, Université Claude Bernard Lyon 1(法国国家科学研究中心、里昂高等师范学院、里昂第一大学);Discrete Mathematics Group, Institute for Basic Science (IBS)(基础科学研究院离散数学组);School of Computing, KAIST(韩国科学技术院计算机学院)

Édouard Bonnet, Colin Geniet, Eun Jung Kim, Sungmin Moon

AI总结:

本文提出了一种符号树模型,用于在具有稀疏符号树模型的图中快速计算最短路径,并应用于改进固定参数算法、APSP计算及矩阵乘法。

摘要:

本文提出了一种符号树模型,该模型是一种紧凑的二进制结构,由一个以根节点为根的二叉树组成,其叶子节点与图G的顶点一一对应。此外,该模型还包括两种颜色的边xy,称为横贯对,被解释为双 clique 或反双 clique,其边是根节点在x和y处的子树的叶子节点。我们设计了一种算法,给定这样的图G的表示形式,其中包含p个横贯对和一个源点v∈V(G),可以在O(p log n)时间内计算图G中以v为根的最短路径树。许多图类具有这样的性质:对于所有n,其n顶点的图都允许具有O(n)个横贯对的符号树模型:例如,那些对称差有界、更一般地说,对sd-退化有界的图,以及区间图。作为我们单源最短路径算法和新技术的应用,我们:- 提高了在给定低合并宽度见证的图上的一阶模型检查固定参数算法的运行时间,从立方 [Dreier 和 Toruńczyk, STOC '25] 到二次;- 给出一个O(n² log n)时间的算法,用于在具有低合并宽度见证的图上计算所有对最短路径(APSP),推广了在双宽度 [Twin-Width III, SICOMP '24] 上已知的结果;- 延伸并简化了 [Twin-Width V, STACS '23] 中的O(n² log n)时间算法,用于乘以两个n×n的矩阵A, B,其中现在A只需是具有双宽度的图的邻接矩阵,而B可以是任意的;- 给出一个O(n² log² n)时间的算法,用于在具有双宽度的图上计算APSP,绕过了[ TWIN-Width III, SICOMP '24; Bannach et al. STACS '24] 中对收缩序列的需求;- 给出一个O(n^{7/3} log² n)时间的算法,用于在对称差为O(n^{1/3})的图上计算APSP。

英文摘要:

A signed tree model of a graph $G$ is a compact binary structure consisting of a rooted binary tree whose leaves are bijectively mapped to the vertices of $G$, together with 2-colored edges $xy$, called transversal pairs, interpreted as bicliques or anti-bicliques whose sides are the leaves of the subtrees rooted at $x$ and at $y$. We design an algorithm that, given such a representation of an $n$-vertex graph $G$ with $p$ transversal pairs and a source $v \in V(G)$, computes a shortest-path tree rooted at $v$ in $G$ in time $O(p \log n)$. A wide variety of graph classes are such that for all $n$, their $n$-vertex graphs admit signed tree models with $O(n)$ transversal pairs: for instance, those of bounded symmetric difference, more generally of bounded sd-degeneracy, as well as interval graphs. As applications of our Single-Source Shortest Path algorithm and new techniques, we - improve the runtime of the fixed-parameter algorithm for first-order model checking on graphs given with a witness of low merge-width from cubic [Dreier and Toruńczyk, STOC '25] to quadratic; - give an $O(n^2 \log n)$-time algorithm for All-Pairs Shortest Path (APSP) on graphs given with a witness of low merge-width, generalizing a result known on twin-width [Twin-Width III, SICOMP '24]; - extend and simplify an $O(n^2 \log n)$-time algorithm for multiplying two $n \times n$ matrices $A, B$ of bounded twin-width in [Twin-Width V, STACS '23]: now $A$ solely has to be an adjacency matrix of a graph of bounded twin-width and $B$ can be arbitrary; - give an $O(n^2 \log^2 n)$-time algorithm for APSP on graphs of bounded twin-width, bypassing the need for contraction sequences in [Twin-Width III, SICOMP '24; Bannach et al. STACS '24]; - give an $O(n^{7/3} \log^2 n)$-time algorithm for APSP on graphs of symmetric difference $O(n^{1/3})$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑