Simpler and faster algorithms for detours in planar digraphs

Meike Hatzel, Konrad Majewski, Michal Pilipczuk, Marek Sokolowski
{"title":"Simpler and faster algorithms for detours in planar digraphs","authors":"Meike Hatzel, Konrad Majewski, Michal Pilipczuk, Marek Sokolowski","doi":"10.48550/arXiv.2301.02421","DOIUrl":null,"url":null,"abstract":"In the directed detour problem one is given a digraph $G$ and a pair of vertices $s$ and~$t$, and the task is to decide whether there is a directed simple path from $s$ to $t$ in $G$ whose length is larger than $\\mathsf{dist}_{G}(s,t)$. The more general parameterized variant, directed long detour, asks for a simple $s$-to-$t$ path of length at least $\\mathsf{dist}_{G}(s,t)+k$, for a given parameter $k$. Surprisingly, it is still unknown whether directed detour is polynomial-time solvable on general digraphs. However, for planar digraphs, Wu and Wang~[Networks, '15] proposed an $\\mathcal{O}(n^3)$-time algorithm for directed detour, while Fomin et al.~[STACS 2022] gave a $2^{\\mathcal{O}(k)}\\cdot n^{\\mathcal{O}(1)}$-time fpt algorithm for directed long detour. The algorithm of Wu and Wang relies on a nontrivial analysis of how short detours may look like in a plane embedding, while the algorithm of Fomin et al.~is based on a reduction to the ${\\S}$-disjoint paths problem on planar digraphs. This latter problem is solvable in polynomial time using the algebraic machinery of Schrijver~[SIAM~J.~Comp.,~'94], but the degree of the obtained polynomial factor is huge. In this paper we propose two simple algorithms: we show how to solve, in planar digraphs, directed detour in time $\\mathcal{O}(n^2)$ and directed long detour in time $2^{\\mathcal{O}(k)}\\cdot n^4 \\log n$. In both cases, the idea is to reduce to the $2$-disjoint paths problem in a planar digraph, and to observe that the obtained instances of this problem have a certain topological structure that makes them amenable to a direct greedy strategy.","PeriodicalId":93491,"journal":{"name":"Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA)","volume":"80 1","pages":"156-165"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2301.02421","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

In the directed detour problem one is given a digraph $G$ and a pair of vertices $s$ and~$t$, and the task is to decide whether there is a directed simple path from $s$ to $t$ in $G$ whose length is larger than $\mathsf{dist}_{G}(s,t)$. The more general parameterized variant, directed long detour, asks for a simple $s$-to-$t$ path of length at least $\mathsf{dist}_{G}(s,t)+k$, for a given parameter $k$. Surprisingly, it is still unknown whether directed detour is polynomial-time solvable on general digraphs. However, for planar digraphs, Wu and Wang~[Networks, '15] proposed an $\mathcal{O}(n^3)$-time algorithm for directed detour, while Fomin et al.~[STACS 2022] gave a $2^{\mathcal{O}(k)}\cdot n^{\mathcal{O}(1)}$-time fpt algorithm for directed long detour. The algorithm of Wu and Wang relies on a nontrivial analysis of how short detours may look like in a plane embedding, while the algorithm of Fomin et al.~is based on a reduction to the ${\S}$-disjoint paths problem on planar digraphs. This latter problem is solvable in polynomial time using the algebraic machinery of Schrijver~[SIAM~J.~Comp.,~'94], but the degree of the obtained polynomial factor is huge. In this paper we propose two simple algorithms: we show how to solve, in planar digraphs, directed detour in time $\mathcal{O}(n^2)$ and directed long detour in time $2^{\mathcal{O}(k)}\cdot n^4 \log n$. In both cases, the idea is to reduce to the $2$-disjoint paths problem in a planar digraph, and to observe that the obtained instances of this problem have a certain topological structure that makes them amenable to a direct greedy strategy.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
平面有向图中绕行的更简单、更快的算法
在有向绕路问题中,给定一个有向图$G$和一对顶点$s$和~$t$,任务是确定$G$中是否存在一条从$s$到$t$的有向简单路径,其长度大于$\mathsf{dist}_{G}(s,t)$。对于给定的参数$k$,更一般的参数化变体,定向长迂回,要求一个简单的$s$到$t$的路径,其长度至少为$\mathsf{dist}_{G}(s,t)+k$。令人惊讶的是,在一般有向图上,定向绕行是否多项式时间可解仍然是未知的。然而,对于平面有向图,Wu和Wang~[Networks, '15]提出了$\mathcal{O}(n^3)$ time算法用于有向绕路,而Fomin等人~[STACS 2022]给出了$2^{\mathcal{O}(k)}\cdot n^{\mathcal{O}(1)}$ time fpt算法用于有向长绕路。Wu和Wang的算法依赖于对平面嵌入中的短弯路的非平凡分析,而Fomin等人的算法是基于对平面有向图上的${\S}$-不相交路径问题的简化。用Schrijver~[SIAM~J.~Comp]的代数机制在多项式时间内求解后一个问题。,~'94],但得到的多项式因子的程度是巨大的。本文提出了两种简单的算法:我们展示了如何求解平面有向图中时间$\mathcal{O}(n^2)$的有向绕路和时间$2^{\mathcal{O}(k)}\cdot n^4 \log n$的有向长绕路。在这两种情况下,思想都是将其简化为平面有向图中的$2$-不相交路径问题,并观察该问题的实例具有一定的拓扑结构,使其适用于直接贪婪策略。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Revisiting Garg's 2-Approximation Algorithm for the k-MST Problem in Graphs Min-Max Optimization Made Simple: Approximating the Proximal Point Method via Contraction Maps Simpler and faster algorithms for detours in planar digraphs A Simple Optimal Algorithm for the 2-Arm Bandit Problem A Simple Algorithm for Submodular Minimum Linear Ordering
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1