Pub Date : 2024-04-16DOI: 10.1007/s00453-024-01226-3
Johannes Lengler, Andre Opris, Dirk Sudholt
Population diversity is crucial in evolutionary algorithms as it helps with global exploration and facilitates the use of crossover. Despite many runtime analyses showing advantages of population diversity, we have no clear picture of how diversity evolves over time. We study how the population diversity of ((mu +1)) algorithms, measured by the sum of pairwise Hamming distances, evolves in a fitness-neutral environment. We give an exact formula for the drift of population diversity and show that it is driven towards an equilibrium state. Moreover, we bound the expected time for getting close to the equilibrium state. We find that these dynamics, including the location of the equilibrium, are unaffected by surprisingly many algorithmic choices. All unbiased mutation operators with the same expected number of bit flips have the same effect on the expected diversity. Many crossover operators have no effect at all, including all binary unbiased, respectful operators. We review crossover operators from the literature and identify crossovers that are neutral towards the evolution of diversity and crossovers that are not.
{"title":"Analysing Equilibrium States for Population Diversity","authors":"Johannes Lengler, Andre Opris, Dirk Sudholt","doi":"10.1007/s00453-024-01226-3","DOIUrl":"10.1007/s00453-024-01226-3","url":null,"abstract":"<div><p>Population diversity is crucial in evolutionary algorithms as it helps with global exploration and facilitates the use of crossover. Despite many runtime analyses showing advantages of population diversity, we have no clear picture of how diversity evolves over time. We study how the population diversity of <span>((mu +1))</span> algorithms, measured by the sum of pairwise Hamming distances, evolves in a fitness-neutral environment. We give an exact formula for the drift of population diversity and show that it is driven towards an equilibrium state. Moreover, we bound the expected time for getting close to the equilibrium state. We find that these dynamics, including the location of the equilibrium, are unaffected by surprisingly many algorithmic choices. All unbiased mutation operators with the same expected number of bit flips have the same effect on the expected diversity. Many crossover operators have no effect at all, including all binary unbiased, respectful operators. We review crossover operators from the literature and identify crossovers that are neutral towards the evolution of diversity and crossovers that are not.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2317 - 2351"},"PeriodicalIF":0.9,"publicationDate":"2024-04-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-024-01226-3.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140613146","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-04-12DOI: 10.1007/s00453-024-01228-1
Jan Bok, Richard C. Brewster, Pavol Hell, Nikola Jedličková, Arash Rafiey
Since the CSP dichotomy conjecture has been established, a number of other dichotomy questions have attracted interest, including one for list homomorphism problems of signed graphs. Signed graphs arise naturally in many contexts, including for instance nowhere-zero flows for graphs embedded in non-orientable surfaces. The dichotomy classification is known for homomorphisms without list restrictions, so it is surprising that it is not known, or even conjectured, if lists are present since this usually makes the classifications easier to obtain. There is however a conjectured classification, due to Kim and Siggers, in the special case of “semi-balanced” signed graphs. These authors confirmed their conjecture for the class of reflexive signed graphs. As our main result we verify the conjecture for irreflexive signed graphs. For this purpose, we prove an extension result for two-directional ray graphs which is of independent interest and which leads to an analogous extension result for interval graphs. Moreover, we offer an alternative proof for the class of reflexive signed graphs, and a direct polynomial-time algorithm in the polynomial cases where the previous algorithms used algebraic methods of general CSP dichotomy theorems. For both reflexive and irreflexive cases the dichotomy classification depends on a result linking the absence of certain structures to the existence of a special ordering. The structures are used to prove the NP-completeness and the ordering is used to design polynomial algorithms.
{"title":"Min Orderings and List Homomorphism Dichotomies for Graphs and Signed Graphs","authors":"Jan Bok, Richard C. Brewster, Pavol Hell, Nikola Jedličková, Arash Rafiey","doi":"10.1007/s00453-024-01228-1","DOIUrl":"10.1007/s00453-024-01228-1","url":null,"abstract":"<div><p>Since the CSP dichotomy conjecture has been established, a number of other dichotomy questions have attracted interest, including one for list homomorphism problems of signed graphs. Signed graphs arise naturally in many contexts, including for instance nowhere-zero flows for graphs embedded in non-orientable surfaces. The dichotomy classification is known for homomorphisms without list restrictions, so it is surprising that it is not known, or even conjectured, if lists are present since this usually makes the classifications easier to obtain. There is however a conjectured classification, due to Kim and Siggers, in the special case of “semi-balanced” signed graphs. These authors confirmed their conjecture for the class of reflexive signed graphs. As our main result we verify the conjecture for irreflexive signed graphs. For this purpose, we prove an extension result for two-directional ray graphs which is of independent interest and which leads to an analogous extension result for interval graphs. Moreover, we offer an alternative proof for the class of reflexive signed graphs, and a direct polynomial-time algorithm in the polynomial cases where the previous algorithms used algebraic methods of general CSP dichotomy theorems. For both reflexive and irreflexive cases the dichotomy classification depends on a result linking the absence of certain structures to the existence of a special ordering. The structures are used to prove the NP-completeness and the ordering is used to design polynomial algorithms.\u0000</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2289 - 2316"},"PeriodicalIF":0.9,"publicationDate":"2024-04-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140602306","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-04-06DOI: 10.1007/s00453-024-01227-2
Sriram Bhyravarapu, Tim A. Hartmann, Hung P. Hoang, Subrahmanyam Kalyanasundaram, I. Vinod Reddy
A conflict-free coloring of a graph G is a (partial) coloring of its vertices such that every vertex u has a neighbor whose assigned color is unique in the neighborhood of u. There are two variants of this coloring, one defined using the open neighborhood and one using the closed neighborhood. For both variants, we study the problem of deciding whether the conflict-free coloring of a given graph G is at most a given number k.
In this work, we investigate the relation of clique-width and minimum number of colors needed (for both variants) and show that these parameters do not bound one another. Moreover, we consider specific graph classes, particularly graphs of bounded clique-width and types of intersection graphs, such as distance hereditary graphs, interval graphs and unit square and disk graphs. We also consider Kneser graphs and split graphs. We give (often tight) upper and lower bounds and determine the complexity of the decision problem on these graph classes, which improve some of the results from the literature. Particularly, we settle the number of colors needed for an interval graph to be conflict-free colored under the open neighborhood model, which was posed as an open problem.
摘要 图 G 的无冲突着色是其顶点的(部分)着色,即每个顶点 u 都有一个邻居,其分配的颜色在 u 的邻域中是唯一的。对于这两种变体,我们研究的问题都是确定给定图 G 的无冲突着色是否最多为给定数 k。在这项工作中,我们研究了(对于这两种变体)簇宽和所需颜色的最小数量之间的关系,并证明这些参数并不相互约束。此外,我们还考虑了特定的图类,特别是有界剪辑宽度的图和交集图类型,如距离遗传图、区间图、单位方形和圆盘图。我们还考虑了 Kneser 图和分裂图。我们给出了(通常很紧)上下限,并确定了这些图类的决策问题的复杂性,从而改进了文献中的一些结果。特别是,我们解决了开放邻域模型下区间图无冲突着色所需的颜色数,这曾是一个开放问题。
{"title":"Conflict-Free Coloring: Graphs of Bounded Clique-Width and Intersection Graphs","authors":"Sriram Bhyravarapu, Tim A. Hartmann, Hung P. Hoang, Subrahmanyam Kalyanasundaram, I. Vinod Reddy","doi":"10.1007/s00453-024-01227-2","DOIUrl":"10.1007/s00453-024-01227-2","url":null,"abstract":"<div><p>A conflict-free coloring of a graph <i>G</i> is a (partial) coloring of its vertices such that every vertex <i>u</i> has a neighbor whose assigned color is unique in the neighborhood of <i>u</i>. There are two variants of this coloring, one defined using the open neighborhood and one using the closed neighborhood. For both variants, we study the problem of deciding whether the conflict-free coloring of a given graph <i>G</i> is at most a given number <i>k</i>.</p><p>In this work, we investigate the relation of clique-width and minimum number of colors needed (for both variants) and show that these parameters do not bound one another. Moreover, we consider specific graph classes, particularly graphs of bounded clique-width and types of intersection graphs, such as distance hereditary graphs, interval graphs and unit square and disk graphs. We also consider Kneser graphs and split graphs. We give (often tight) upper and lower bounds and determine the complexity of the decision problem on these graph classes, which improve some of the results from the literature. Particularly, we settle the number of colors needed for an interval graph to be conflict-free colored under the open neighborhood model, which was posed as an open problem.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2250 - 2288"},"PeriodicalIF":0.9,"publicationDate":"2024-04-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140586283","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-04-03DOI: 10.1007/s00453-024-01219-2
Daniel Hader, Matthew J. Patitz
Motivated by applications in DNA-nanotechnology, theoretical investigations in algorithmic tile-assembly have blossomed into a mature theory. In addition to computational universality, the abstract Tile Assembly Model (aTAM) was shown to be intrinsically universal (FOCS 2012), a strong notion of completeness where a single tile set is capable of simulating the full dynamics of all systems within the model; however, this construction fundamentally required non-deterministic tile attachments. This was confirmed necessary when it was shown that the class of directed aTAM systems, those where all possible sequences of tile attachments result in the same terminal assembly, is not intrinsically universal (FOCS 2016). Furthermore, it was shown that the non-cooperative aTAM, where tiles only need to match on 1 side to bind rather than 2 or more, is not intrinsically universal (SODA 2014) nor computationally universal (STOC 2017). Building on these results to further investigate the other dynamics, Hader et al. examined several tile-assembly models which varied across (1) the numbers of dimensions used, (2) how tiles diffused through space, and (3) whether each system is directed, and determined which models exhibited intrinsic universality (SODA 2020). In this paper we extend those results to provide direct comparisons of the various models against each other by considering intrinsic simulations between models. Our results show that in some cases, one model is strictly more powerful than another, and in others, pairs of models have mutually exclusive capabilities. This paper is a greatly expanded version of that which appeared in ICALP 2023.
{"title":"The Impacts of Dimensionality, Diffusion, and Directedness on Intrinsic Cross-Model Simulation in Tile-Based Self-Assembly","authors":"Daniel Hader, Matthew J. Patitz","doi":"10.1007/s00453-024-01219-2","DOIUrl":"10.1007/s00453-024-01219-2","url":null,"abstract":"<div><p>Motivated by applications in DNA-nanotechnology, theoretical investigations in algorithmic tile-assembly have blossomed into a mature theory. In addition to computational universality, the abstract Tile Assembly Model (aTAM) was shown to be intrinsically universal (FOCS 2012), a strong notion of completeness where a single tile set is capable of simulating the full dynamics of all systems within the model; however, this construction fundamentally required non-deterministic tile attachments. This was confirmed necessary when it was shown that the class of directed aTAM systems, those where all possible sequences of tile attachments result in the same terminal assembly, is not intrinsically universal (FOCS 2016). Furthermore, it was shown that the non-cooperative aTAM, where tiles only need to match on 1 side to bind rather than 2 or more, is not intrinsically universal (SODA 2014) nor computationally universal (STOC 2017). Building on these results to further investigate the other dynamics, Hader et al. examined several tile-assembly models which varied across (1) the numbers of dimensions used, (2) how tiles diffused through space, and (3) whether each system is directed, and determined which models exhibited intrinsic universality (SODA 2020). In this paper we extend those results to provide direct comparisons of the various models against each other by considering intrinsic simulations between models. Our results show that in some cases, one model is strictly more powerful than another, and in others, pairs of models have mutually exclusive capabilities. This paper is a greatly expanded version of that which appeared in ICALP 2023.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2211 - 2249"},"PeriodicalIF":0.9,"publicationDate":"2024-04-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-024-01219-2.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140586234","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-03-29DOI: 10.1007/s00453-024-01220-9
Vít Jelínek, Michal Opler, Pavel Valtr
A permutation (pi ) is a merge of a permutation (sigma ) and a permutation (tau ), if we can color the elements of (pi ) red and blue so that the red elements have the same relative order as (sigma ) and the blue ones as (tau ). We consider, for fixed hereditary permutation classes (mathcal {C}) and (mathcal {D}), the complexity of determining whether a given permutation (pi ) is a merge of an element of (mathcal {C}) with an element of (mathcal {D}). We develop general algorithmic approaches for identifying polynomially tractable cases of merge recognition. Our tools include a version of streaming recognizability of permutations via polynomially constructible nondeterministic automata, as well as a concept of bounded width decomposition, inspired by the work of Ahal and Rabinovich. As a consequence of the general results, we can provide nontrivial examples of tractable permutation merges involving commonly studied permutation classes, such as the class of layered permutations, the class of separable permutations, or the class of permutations avoiding a decreasing sequence of a given length. On the negative side, we obtain a general hardness result which implies, for example, that it is NP-complete to recognize the permutations that can be merged from two subpermutations avoiding the pattern 2413.
{"title":"Generalized Coloring of Permutations","authors":"Vít Jelínek, Michal Opler, Pavel Valtr","doi":"10.1007/s00453-024-01220-9","DOIUrl":"10.1007/s00453-024-01220-9","url":null,"abstract":"<div><p>A permutation <span>(pi )</span> is a <i>merge</i> of a permutation <span>(sigma )</span> and a permutation <span>(tau )</span>, if we can color the elements of <span>(pi )</span> red and blue so that the red elements have the same relative order as <span>(sigma )</span> and the blue ones as <span>(tau )</span>. We consider, for fixed hereditary permutation classes <span>(mathcal {C})</span> and <span>(mathcal {D})</span>, the complexity of determining whether a given permutation <span>(pi )</span> is a merge of an element of <span>(mathcal {C})</span> with an element of <span>(mathcal {D})</span>. We develop general algorithmic approaches for identifying polynomially tractable cases of merge recognition. Our tools include a version of streaming recognizability of permutations via polynomially constructible nondeterministic automata, as well as a concept of bounded width decomposition, inspired by the work of Ahal and Rabinovich. As a consequence of the general results, we can provide nontrivial examples of tractable permutation merges involving commonly studied permutation classes, such as the class of layered permutations, the class of separable permutations, or the class of permutations avoiding a decreasing sequence of a given length. On the negative side, we obtain a general hardness result which implies, for example, that it is NP-complete to recognize the permutations that can be merged from two subpermutations avoiding the pattern 2413.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2174 - 2210"},"PeriodicalIF":0.9,"publicationDate":"2024-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140602087","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-03-26DOI: 10.1007/s00453-024-01216-5
Guido Brückner, Ignaz Rutter, Peter Stumpf
The partial representation extension problem generalizes the recognition problem for geometric intersection graphs. The input consists of a graph G, a subgraph (H subseteq G) and a representation (mathcal R') of H. The question is whether G admits a representation (mathcal R) whose restriction to H is (mathcal R'). We study this question for circle graphs, which are intersection graphs of chords of a circle. Their representations are called chord diagrams. We show that for a graph with n vertices and m edges the partial representation extension problem can be solved in (O((n + m) alpha (n + m))) time, thereby improving over an (O(n^3))-time algorithm by Chaplick et al. (J Graph Theory 91(4), 365–394, 2019). The main technical contributions are a canonical way of orienting chord diagrams and a novel compact representation of the set of all canonically oriented chord diagrams that represent a given circle graph G, which is of independent interest.
部分表示扩展问题概括了几何交集图的识别问题。输入包括一个图 G、一个子图 H 和 H 的一个表示(mathcal R')。问题是 G 是否允许一个表示(mathcal R),它对 H 的限制是(mathcal R')。我们针对圆图研究这个问题,圆图是圆的弦的交点图。它们的表示被称为弦图。我们证明,对于一个有 n 个顶点和 m 条边的图,部分表示扩展问题可以在 (O((n + m) alpha (n + m))) 时间内求解,从而改进了 Chaplick 等人的(O(n^3))-time 算法(《图论》91(4), 365-394, 2019)。主要的技术贡献是一种典型的弦图定向方法,以及对表示给定圆图 G 的所有典型定向弦图集合的一种新颖的紧凑表示,这一点具有独立的意义。
{"title":"Extending Partial Representations of Circle Graphs in Near-Linear Time","authors":"Guido Brückner, Ignaz Rutter, Peter Stumpf","doi":"10.1007/s00453-024-01216-5","DOIUrl":"10.1007/s00453-024-01216-5","url":null,"abstract":"<div><p>The <i>partial representation extension problem</i> generalizes the recognition problem for geometric intersection graphs. The input consists of a graph <i>G</i>, a subgraph <span>(H subseteq G)</span> and a representation <span>(mathcal R')</span> of <i>H</i>. The question is whether <i>G</i> admits a representation <span>(mathcal R)</span> whose restriction to <i>H</i> is <span>(mathcal R')</span>. We study this question for <i>circle graphs</i>, which are intersection graphs of chords of a circle. Their representations are called <i>chord diagrams</i>. We show that for a graph with <i>n</i> vertices and <i>m</i> edges the partial representation extension problem can be solved in <span>(O((n + m) alpha (n + m)))</span> time, thereby improving over an <span>(O(n^3))</span>-time algorithm by Chaplick et al. (J Graph Theory 91(4), 365–394, 2019). The main technical contributions are a canonical way of orienting chord diagrams and a novel compact representation of the set of all canonically oriented chord diagrams that represent a given circle graph <i>G</i>, which is of independent interest.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2152 - 2173"},"PeriodicalIF":0.9,"publicationDate":"2024-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-024-01216-5.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140312141","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2024-03-25DOI: 10.1007/s00453-024-01223-6
Feodor F. Dragan, Guillaume Ducoffe
We extend known results on chordal graphs and distance-hereditary graphs to much larger graph classes by using only a common metric property of these graphs. Specifically, a graph is called (alpha _i)-metric ((iin {mathcal {N}})) if it satisfies the following (alpha _i)-metric property for every vertices u, w, v and x: if a shortest path between u and w and a shortest path between x and v share a terminal edge vw, then (d(u,x)ge d(u,v) + d(v,x)-i). Roughly, gluing together any two shortest paths along a common terminal edge may not necessarily result in a shortest path but yields a “near-shortest” path with defect at most i. It is known that (alpha _0)-metric graphs are exactly ptolemaic graphs, and that chordal graphs and distance-hereditary graphs are (alpha _i)-metric for (i=1) and (i=2), respectively. We show that an additive O(i)-approximation of the radius, of the diameter, and in fact of all vertex eccentricities of an (alpha _i)-metric graph can be computed in total linear time. Our strongest results are obtained for (alpha _1)-metric graphs, for which we prove that a central vertex can be computed in subquadratic time, and even better in linear time for so-called ((alpha _1,varDelta ))-metric graphs (a superclass of chordal graphs and of plane triangulations with inner vertices of degree at least 7). The latter answers a question raised in Dragan (Inf Probl Lett 154:105873, 2020), 2020). Our algorithms follow from new results on centers and metric intervals of (alpha _i)-metric graphs. In particular, we prove that the diameter of the center is at most (3i+2) (at most 3, if (i=1)). The latter partly answers a question raised in Yushmanov and Chepoi (Math Probl Cybernet 3:217–232, 1991).
我们只使用了这些图的一个共同度量属性,就把关于弦图和距离遗传图的已知结果扩展到了更大的图类。具体来说,如果一个图对于每个顶点 u、w、v 和 x 都满足以下度量属性,那么这个图就叫做度量图:如果 u 和 w 之间的最短路径以及 x 和 v 之间的最短路径共享一条末端边 vw,那么(d(u,x)ge d(u,v) + d(v,x)-i/)。粗略地说,把任意两条最短路径沿着共同的末端边粘在一起不一定会得到一条最短路径,但会得到一条缺陷最多为 i 的 "接近最短 "的路径。已知 (α _0)-metric 图正是托勒密图,弦图和距离遗传图分别在 (i=1) 和 (i=2) 时是 (α _i)-metric 的。我们证明,一个 (α _i)-度量图的半径、直径以及所有顶点偏心率的加法O(i)-近似值都可以在总的线性时间内计算出来。我们最强的结果是针对 (alpha _1)-度量图的,我们证明了中心顶点可以在亚二次方时间内计算出来,而对于所谓的 ((alpha _1,varDelta ))-度量图(弦图和内顶点度数至少为7的平面三角形的超类)来说,线性时间甚至更好。后者回答了德拉甘(Inf Probl Lett 154:105873, 2020)提出的一个问题。)我们的算法源于关于 (α _i)-metric graphs 的中心和度量区间的新结果。特别是,我们证明了中心的直径最多为(3i+2)(如果(i=1),则最多为3)。后者部分回答了尤什马诺夫和切波(Math Probl Cybernet 3:217-232, 1991)中提出的一个问题。
{"title":"(alpha _i)-Metric Graphs: Radius, Diameter and all Eccentricities","authors":"Feodor F. Dragan, Guillaume Ducoffe","doi":"10.1007/s00453-024-01223-6","DOIUrl":"10.1007/s00453-024-01223-6","url":null,"abstract":"<div><p>We extend known results on chordal graphs and distance-hereditary graphs to much larger graph classes by using only a common metric property of these graphs. Specifically, a graph is called <span>(alpha _i)</span>-metric (<span>(iin {mathcal {N}})</span>) if it satisfies the following <span>(alpha _i)</span>-metric property for every vertices <i>u</i>, <i>w</i>, <i>v</i> and <i>x</i>: if a shortest path between <i>u</i> and <i>w</i> and a shortest path between <i>x</i> and <i>v</i> share a terminal edge <i>vw</i>, then <span>(d(u,x)ge d(u,v) + d(v,x)-i)</span>. Roughly, gluing together any two shortest paths along a common terminal edge may not necessarily result in a shortest path but yields a “near-shortest” path with defect at most <i>i</i>. It is known that <span>(alpha _0)</span>-metric graphs are exactly ptolemaic graphs, and that chordal graphs and distance-hereditary graphs are <span>(alpha _i)</span>-metric for <span>(i=1)</span> and <span>(i=2)</span>, respectively. We show that an additive <i>O</i>(<i>i</i>)-approximation of the radius, of the diameter, and in fact of all vertex eccentricities of an <span>(alpha _i)</span>-metric graph can be computed in total linear time. Our strongest results are obtained for <span>(alpha _1)</span>-metric graphs, for which we prove that a central vertex can be computed in subquadratic time, and even better in linear time for so-called <span>((alpha _1,varDelta ))</span>-metric graphs (a superclass of chordal graphs and of plane triangulations with inner vertices of degree at least 7). The latter answers a question raised in Dragan (Inf Probl Lett 154:105873, 2020), 2020). Our algorithms follow from new results on centers and metric intervals of <span>(alpha _i)</span>-metric graphs. In particular, we prove that the diameter of the center is at most <span>(3i+2)</span> (at most 3, if <span>(i=1)</span>). The latter partly answers a question raised in Yushmanov and Chepoi (Math Probl Cybernet 3:217–232, 1991).</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 7","pages":"2092 - 2129"},"PeriodicalIF":0.9,"publicationDate":"2024-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-024-01223-6.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140303258","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}