Linear-time safe-alternating DFS and SCCs

IF 1 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS
Carlo Comin, Romeo Rizzi
{"title":"Linear-time safe-alternating DFS and SCCs","authors":"Carlo Comin,&nbsp;Romeo Rizzi","doi":"10.1016/j.ic.2025.105334","DOIUrl":null,"url":null,"abstract":"<div><div>An alternating graph is a directed graph whose vertex set is partitioned into two colour classes, existential and universal.</div><div>This forms the basic arena for well-known models in formal verification, discrete optimal control, and infinite duration two-player games where Player □ and Player ○ alternate in a turn-based sliding of a pebble along the arcs they control.</div><div>We study alternating strongly-connectedness on alternating graphs as a generalization of strongly-connectedness in directed graphs, aiming at providing a linear-time decomposition and a sound structural graph characterization. For this a novel notion of alternating reachability is introduced: Player □ attempts to reach vertices without leaving a prescribed subset of the vertices while Player ○ works against. This is named <em>safe-alternating reachability</em>. It is shown that every alternating graph uniquely decomposes into <em>safe-alternating strongly-connected components</em>, where Player □ can visit each vertex within a given component infinitely often without having to ever leave out the component itself.</div><div>Our main result is a linear-time algorithm for computing this alternating graph decomposition. Both the underlying graph structures and the algorithm generalize the classical decomposition of a directed graph into strongly-connected components, building on the algorithms devised by Tarjan in 1972.</div><div>Our theory has direct applications e.g. solving well-known infinite duration pebble games faster. Dinneen and Khoussainov showed in 1999 that deciding a given Update Game costs <span><math><mi>O</mi><mo>(</mo><mi>m</mi><mi>n</mi><mo>)</mo></math></span> time, where <em>n</em> is the number of vertices and <em>m</em> is that of arcs. We solve that task in <span><math><mi>Θ</mi><mo>(</mo><mi>m</mi><mo>+</mo><mi>n</mi><mo>)</mo></math></span> linear time. In turn the complexity of Explicit McNaughton-Müller Games improves from cubic to quadratic.</div></div>","PeriodicalId":54985,"journal":{"name":"Information and Computation","volume":"306 ","pages":"Article 105334"},"PeriodicalIF":1.0000,"publicationDate":"2025-08-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Computation","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0890540125000707","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

An alternating graph is a directed graph whose vertex set is partitioned into two colour classes, existential and universal.
This forms the basic arena for well-known models in formal verification, discrete optimal control, and infinite duration two-player games where Player □ and Player ○ alternate in a turn-based sliding of a pebble along the arcs they control.
We study alternating strongly-connectedness on alternating graphs as a generalization of strongly-connectedness in directed graphs, aiming at providing a linear-time decomposition and a sound structural graph characterization. For this a novel notion of alternating reachability is introduced: Player □ attempts to reach vertices without leaving a prescribed subset of the vertices while Player ○ works against. This is named safe-alternating reachability. It is shown that every alternating graph uniquely decomposes into safe-alternating strongly-connected components, where Player □ can visit each vertex within a given component infinitely often without having to ever leave out the component itself.
Our main result is a linear-time algorithm for computing this alternating graph decomposition. Both the underlying graph structures and the algorithm generalize the classical decomposition of a directed graph into strongly-connected components, building on the algorithms devised by Tarjan in 1972.
Our theory has direct applications e.g. solving well-known infinite duration pebble games faster. Dinneen and Khoussainov showed in 1999 that deciding a given Update Game costs O(mn) time, where n is the number of vertices and m is that of arcs. We solve that task in Θ(m+n) linear time. In turn the complexity of Explicit McNaughton-Müller Games improves from cubic to quadratic.
线性-时间-安全交替DFS和SCCs
交替图是一个有向图,它的顶点集被划分为存在和全称两个颜色类。这就形成了在形式验证、离散最优控制和无限持续时间的双人游戏中众所周知的模型的基本舞台,其中玩家□和玩家〇轮流在他们控制的弧线上滑动鹅卵石。作为有向图强连通性的推广,我们研究了交替图上的交替强连通性,旨在提供线性时间分解和良好的结构图表征。为此,引入了交替可达性的新概念:玩家□试图到达顶点而不离开规定的顶点子集,而玩家〇则相反。这被称为安全交替可达性。结果表明,每个交替图都可以唯一地分解为安全交替强连接组件,其中玩家□可以无限频繁地访问给定组件中的每个顶点,而不必离开组件本身。我们的主要结果是计算交替图分解的线性时间算法。基于Tarjan在1972年设计的算法,底层图结构和算法都将有向图的经典分解推广为强连接分量。我们的理论有直接的应用,例如更快地解决众所周知的无限持续时间鹅卵石游戏。Dinneen和Khoussainov在1999年指出,决定一个给定的更新游戏需要花费O(mn)时间,其中n是顶点的数量,m是弧线的数量。我们在Θ(m+n)线性时间内解决了这个问题。反过来,显式mcnaughton - m - ller博弈的复杂性从三次提高到二次。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Information and Computation
Information and Computation 工程技术-计算机:理论方法
CiteScore
2.30
自引率
0.00%
发文量
119
审稿时长
140 days
期刊介绍: Information and Computation welcomes original papers in all areas of theoretical computer science and computational applications of information theory. Survey articles of exceptional quality will also be considered. Particularly welcome are papers contributing new results in active theoretical areas such as -Biological computation and computational biology- Computational complexity- Computer theorem-proving- Concurrency and distributed process theory- Cryptographic theory- Data base theory- Decision problems in logic- Design and analysis of algorithms- Discrete optimization and mathematical programming- Inductive inference and learning theory- Logic & constraint programming- Program verification & model checking- Probabilistic & Quantum computation- Semantics of programming languages- Symbolic computation, lambda calculus, and rewriting systems- Types and typechecking
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信