Caroline Brosse , Nicolas Martins , Nicolas Nisse , Rudini Sampaio
{"title":"The Convex Set Forming Game","authors":"Caroline Brosse , Nicolas Martins , Nicolas Nisse , Rudini Sampaio","doi":"10.1016/j.tcs.2025.115323","DOIUrl":null,"url":null,"abstract":"<div><div>In 1984, Frank Harary introduced the first graph convexity game, focused on the geodesic convexity. A set <span><math><mi>S</mi><mo>⊆</mo><mi>V</mi></math></span> of vertices of a graph <span><math><mi>G</mi><mo>=</mo><mo>(</mo><mi>V</mi><mo>,</mo><mi>E</mi><mo>)</mo></math></span> is convex if every shortest path between two vertices of <em>S</em> is also included in <em>S</em>. We introduce the Convex Set Forming Game CFG: two players alternately select vertices in such a way that the set of selected vertices is always a convex set. In the normal (resp., misère) variant, the last player to be able to select a vertex wins (resp., loses). We also define a new graph invariant <span><math><mi>gc</mi><mo>(</mo><mi>G</mi><mo>)</mo></math></span> as the largest integer <em>k</em> such that the first player has a strategy ensuring that, at the end of the game, at least <em>k</em> vertices of the graph <em>G</em> have been selected. We first show that the problems of deciding the outcome (does the first player win?) of the game in both variants (normal and misère), as well as the problem of deciding whether <span><math><mi>gc</mi><mo>(</mo><mi>G</mi><mo>)</mo><mo>≥</mo><mi>k</mi></math></span>, are PSPACE-complete. As a by-product, we prove that the optimization variant of the classical <span>Kayles</span> game is PSPACE-complete. Then, we focus on convexable graphs, i.e., <em>n</em>-node graphs <em>G</em> for which <span><math><mi>gc</mi><mo>(</mo><mi>G</mi><mo>)</mo><mo>=</mo><mi>n</mi></math></span>. For this purpose, we say that a set <span><math><mi>S</mi><mo>=</mo><mo>{</mo><msub><mrow><mi>v</mi></mrow><mrow><mn>1</mn></mrow></msub><mo>,</mo><mo>⋯</mo><mo>,</mo><msub><mrow><mi>v</mi></mrow><mrow><mo>|</mo><mi>S</mi><mo>|</mo></mrow></msub><mo>}</mo><mo>⊆</mo><mi>V</mi></math></span> in a graph <em>G</em> admits a Convex Elimination Ordering (CEO) if <span><math><mo>{</mo><msub><mrow><mi>v</mi></mrow><mrow><mn>1</mn></mrow></msub><mo>,</mo><mo>⋯</mo><mo>,</mo><msub><mrow><mi>v</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>}</mo></math></span> is convex for every <span><math><mn>1</mn><mo>≤</mo><mi>i</mi><mo>≤</mo><mo>|</mo><mi>S</mi><mo>|</mo></math></span>. We show that the class of graphs whose vertex-set admits a CEO coincides with the chordal graphs and that this class strictly contains the convexable graphs. Moreover, every graph which is Ptolemaic (distance-hereditary chordal) or unit interval is convexable. Finally, we give a polynomial-time algorithm for computing a largest set admitting a CEO in outerplanar graphs, which gives upper bounds on <span><math><mi>gc</mi><mo>(</mo><mi>G</mi><mo>)</mo></math></span> in outerplanar graphs <em>G</em>.</div></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1046 ","pages":"Article 115323"},"PeriodicalIF":1.0000,"publicationDate":"2025-05-16","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/S0304397525002610","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
In 1984, Frank Harary introduced the first graph convexity game, focused on the geodesic convexity. A set of vertices of a graph is convex if every shortest path between two vertices of S is also included in S. We introduce the Convex Set Forming Game CFG: two players alternately select vertices in such a way that the set of selected vertices is always a convex set. In the normal (resp., misère) variant, the last player to be able to select a vertex wins (resp., loses). We also define a new graph invariant as the largest integer k such that the first player has a strategy ensuring that, at the end of the game, at least k vertices of the graph G have been selected. We first show that the problems of deciding the outcome (does the first player win?) of the game in both variants (normal and misère), as well as the problem of deciding whether , are PSPACE-complete. As a by-product, we prove that the optimization variant of the classical Kayles game is PSPACE-complete. Then, we focus on convexable graphs, i.e., n-node graphs G for which . For this purpose, we say that a set in a graph G admits a Convex Elimination Ordering (CEO) if is convex for every . We show that the class of graphs whose vertex-set admits a CEO coincides with the chordal graphs and that this class strictly contains the convexable graphs. Moreover, every graph which is Ptolemaic (distance-hereditary chordal) or unit interval is convexable. Finally, we give a polynomial-time algorithm for computing a largest set admitting a CEO in outerplanar graphs, which gives upper bounds on in outerplanar graphs G.
期刊介绍:
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.