{"title":"A fixed-parameter algorithm for dominance drawings of DAGs","authors":"Giacomo Ortali , Ioannis G. Tollis","doi":"10.1016/j.tcs.2024.114819","DOIUrl":null,"url":null,"abstract":"<div><p>A weak dominance drawing Γ of a DAG <span><math><mi>G</mi><mo>=</mo><mo>(</mo><mi>V</mi><mo>,</mo><mi>E</mi><mo>)</mo></math></span> is a <em>d</em>-dimensional drawing such that <span><math><mi>D</mi><mo>(</mo><mi>u</mi><mo>)</mo><mo><</mo><mi>D</mi><mo>(</mo><mi>v</mi><mo>)</mo></math></span> for every dimension <em>D</em> of Γ if there is a directed path from a vertex <em>u</em> to a vertex <em>v</em> in <em>G</em>, where <span><math><mi>D</mi><mo>(</mo><mi>w</mi><mo>)</mo></math></span> is the coordinate of vertex <span><math><mi>w</mi><mo>∈</mo><mi>V</mi></math></span> in dimension <em>D</em> of Γ. If <span><math><mi>D</mi><mo>(</mo><mi>u</mi><mo>)</mo><mo><</mo><mi>D</mi><mo>(</mo><mi>v</mi><mo>)</mo></math></span> for every dimension <em>D</em> of Γ, but there is no path from <em>u</em> to <em>v</em>, we have a <em>falsely implied path (fip)</em>. Minimizing the number of fips is an important theoretical and practical problem. Computing 2-dimensional weak dominance drawings with minimum number of fips is NP-hard. We show that this problem is FPT parameterized by the dimension <em>d</em> and the modular width <em>mw</em>. A key ingredient of our proof is the <span>Compaction Lemma</span>, where we show an interesting property of any weak dominance drawing of <em>G</em> with the minimum number of fips. This FPT result in weak dominance, which is interesting by itself because the fip-minimization problem is NP-hard, is used to prove our main contributions. Computing the dominance dimension of <em>G</em>, that is, the minimum number of dimensions <em>d</em> for which <em>G</em> has a <em>d</em>-dimensional dominance drawing (a weak dominance drawing with 0 fips), is a well-known NP-hard problem. We show that the dominance dimension of <em>G</em> is bounded by <span><math><mfrac><mrow><mi>m</mi><mi>w</mi></mrow><mrow><mn>2</mn></mrow></mfrac></math></span> (or <em>mw</em>, if <span><math><mi>m</mi><mi>w</mi><mo><</mo><mn>4</mn></math></span>) and that computing the dominance dimension of <em>G</em> is an FPT problem with parameter <em>mw</em>. As far as we know, this the first FPT-algorithm to compute the dominance dimension of a DAG.</p></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1020 ","pages":"Article 114819"},"PeriodicalIF":0.9000,"publicationDate":"2024-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304397524004365","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
A weak dominance drawing Γ of a DAG is a d-dimensional drawing such that for every dimension D of Γ if there is a directed path from a vertex u to a vertex v in G, where is the coordinate of vertex in dimension D of Γ. If for every dimension D of Γ, but there is no path from u to v, we have a falsely implied path (fip). Minimizing the number of fips is an important theoretical and practical problem. Computing 2-dimensional weak dominance drawings with minimum number of fips is NP-hard. We show that this problem is FPT parameterized by the dimension d and the modular width mw. A key ingredient of our proof is the Compaction Lemma, where we show an interesting property of any weak dominance drawing of G with the minimum number of fips. This FPT result in weak dominance, which is interesting by itself because the fip-minimization problem is NP-hard, is used to prove our main contributions. Computing the dominance dimension of G, that is, the minimum number of dimensions d for which G has a d-dimensional dominance drawing (a weak dominance drawing with 0 fips), is a well-known NP-hard problem. We show that the dominance dimension of G is bounded by (or mw, if ) and that computing the dominance dimension of G is an FPT problem with parameter mw. As far as we know, this the first FPT-algorithm to compute the dominance dimension of a DAG.
DAG G=(V,E) 的弱支配图 Γ 是一个 d 维图,如果在 G 中存在从顶点 u 到顶点 v 的有向路径,那么在 Γ 的每一个 D 维中,D(u)<D(v)都是有向路径,其中 D(w) 是顶点 w∈V 在 Γ 的 D 维中的坐标。如果在 Γ 的每个维度 D 中,D(u)<D(v),但并不存在从 u 到 v 的路径,那么我们就有一条虚假隐含路径(fip)。尽量减少虚假路径的数量是一个重要的理论和实际问题。计算二维弱支配图的 fips 数量最小是 NP-hard。我们证明,这个问题是由维度 d 和模宽 mw 参数化的 FPT 问题。我们证明的一个关键要素是 "压缩"(Compaction Lemma),在这里我们展示了一个有趣的特性,即任何弱支配图都能以最少的点数绘制 G。弱支配性的这一 FPT 结果本身就很有趣,因为 fip 最小化问题是 NP-hard,它被用来证明我们的主要贡献。计算 G 的支配维度,即 G 具有 d 维支配图(fips 为 0 的弱支配图)的最小维数 d,是一个众所周知的 NP 难问题。我们证明了 G 的优势维数以 mw2(或 mw,如果 mw<4 则为 mw)为界,并且计算 G 的优势维数是一个参数为 mw 的 FPT 问题。据我们所知,这是第一个计算 DAG 优势维度的 FPT 算法。
期刊介绍:
Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.