{"title":"通过矩阵乘法开辟道路:非最短诱导路径的更快算法","authors":"Yung-Chung Chiu, Hsueh-I Lu","doi":"10.1016/j.ic.2024.105227","DOIUrl":null,"url":null,"abstract":"<div><div>For vertices <em>u</em> and <em>v</em> of an <em>n</em>-vertex graph <em>G</em>, a <em>uv-trail</em> of <em>G</em> is an induced <em>uv</em>-path of <em>G</em> that is not a shortest <em>uv</em>-path of <em>G</em>. Berger, Seymour, and Spirkl [<em>Discrete Mathematics</em> 2021] gave the previously only known polynomial-time algorithm, running in <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>18</mn></mrow></msup><mo>)</mo></math></span> time, to either output a <em>uv</em>-trail of <em>G</em> or ensure that <em>G</em> admits no <em>uv</em>-trail. We reduce the complexity to the time required to perform a poly-logarithmic number of multiplications of <span><math><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>×</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span> Boolean matrices, leading to a largely improved <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>4.75</mn></mrow></msup><mo>)</mo></math></span>-time algorithm. Our result improves the previous <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>21</mn></mrow></msup><mo>)</mo></math></span>-time algorithm by Cook, Horsfield, Preissmann, Robin, Seymour, Sintiari, Trotignon, and Vušković [<em>Journal of Combinatorial Theory, Series B</em>, 2024] for recognizing graphs with all holes the same length, and reduces the running time to <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>7.75</mn></mrow></msup><mo>)</mo></math></span>.</div></div>","PeriodicalId":54985,"journal":{"name":"Information and Computation","volume":"301 ","pages":"Article 105227"},"PeriodicalIF":0.8000,"publicationDate":"2024-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Blazing a trail via matrix multiplications: A faster algorithm for non-shortest induced paths\",\"authors\":\"Yung-Chung Chiu, Hsueh-I Lu\",\"doi\":\"10.1016/j.ic.2024.105227\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>For vertices <em>u</em> and <em>v</em> of an <em>n</em>-vertex graph <em>G</em>, a <em>uv-trail</em> of <em>G</em> is an induced <em>uv</em>-path of <em>G</em> that is not a shortest <em>uv</em>-path of <em>G</em>. Berger, Seymour, and Spirkl [<em>Discrete Mathematics</em> 2021] gave the previously only known polynomial-time algorithm, running in <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>18</mn></mrow></msup><mo>)</mo></math></span> time, to either output a <em>uv</em>-trail of <em>G</em> or ensure that <em>G</em> admits no <em>uv</em>-trail. We reduce the complexity to the time required to perform a poly-logarithmic number of multiplications of <span><math><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>×</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span> Boolean matrices, leading to a largely improved <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>4.75</mn></mrow></msup><mo>)</mo></math></span>-time algorithm. Our result improves the previous <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>21</mn></mrow></msup><mo>)</mo></math></span>-time algorithm by Cook, Horsfield, Preissmann, Robin, Seymour, Sintiari, Trotignon, and Vušković [<em>Journal of Combinatorial Theory, Series B</em>, 2024] for recognizing graphs with all holes the same length, and reduces the running time to <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>7.75</mn></mrow></msup><mo>)</mo></math></span>.</div></div>\",\"PeriodicalId\":54985,\"journal\":{\"name\":\"Information and Computation\",\"volume\":\"301 \",\"pages\":\"Article 105227\"},\"PeriodicalIF\":0.8000,\"publicationDate\":\"2024-09-27\",\"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/S0890540124000920\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Computation","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0890540124000920","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
摘要
对于 n 个顶点图 G 的顶点 u 和 v,G 的 uv 轨迹是 G 的诱导 uv 路径,它不是 G 的最短 uv 路径。Berger、Seymour 和 Spirkl [Discrete Mathematics 2021]给出了以前已知的唯一多项式时间算法,运行时间为 O(n18),可以输出 G 的 uv 轨迹或确保 G 不允许 uv 轨迹。我们将复杂度降低到执行 n2×n2 布尔矩阵多对数乘法所需的时间,从而大大改进了 O(n4.75)-time 算法。我们的结果改进了库克、霍斯菲尔德、普雷斯曼、罗宾、西摩、辛蒂亚里、特罗蒂尼翁和武什科维奇[《组合理论学报》,B 辑,2024 年]先前的 O(n21)-time 算法,用于识别所有孔长度相同的图,并将运行时间减少到 O(n7.75)。
Blazing a trail via matrix multiplications: A faster algorithm for non-shortest induced paths
For vertices u and v of an n-vertex graph G, a uv-trail of G is an induced uv-path of G that is not a shortest uv-path of G. Berger, Seymour, and Spirkl [Discrete Mathematics 2021] gave the previously only known polynomial-time algorithm, running in time, to either output a uv-trail of G or ensure that G admits no uv-trail. We reduce the complexity to the time required to perform a poly-logarithmic number of multiplications of Boolean matrices, leading to a largely improved -time algorithm. Our result improves the previous -time algorithm by Cook, Horsfield, Preissmann, Robin, Seymour, Sintiari, Trotignon, and Vušković [Journal of Combinatorial Theory, Series B, 2024] for recognizing graphs with all holes the same length, and reduces the running time to .
期刊介绍:
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