AlgorithmicaPub Date : 2025-03-15DOI: 10.1007/s00453-025-01302-2
Carlos Alegría, Susanna Caroppo, Giordano Da Lozzo, Marco D’Elia, Giuseppe Di Battista, Fabrizio Frati, Fabrizio Grosso, Maurizio Patrignani
{"title":"Upward Pointset Embeddings of Planar st-Graphs","authors":"Carlos Alegría, Susanna Caroppo, Giordano Da Lozzo, Marco D’Elia, Giuseppe Di Battista, Fabrizio Frati, Fabrizio Grosso, Maurizio Patrignani","doi":"10.1007/s00453-025-01302-2","DOIUrl":"10.1007/s00453-025-01302-2","url":null,"abstract":"<div><p>We study upward pointset embeddings (<span>UPSE</span>s) of planar <i>st</i>-graphs. Let <i>G</i> be a planar <i>st</i>-graph and let <span>(S subset mathbb {R}^2)</span> be a pointset with <span>(|S|= |V(G)|)</span>. An <i>UPSE</i> of <i>G</i> on <i>S</i> is an upward planar straight-line drawing of <i>G</i> that maps the vertices of <i>G</i> to the points of <i>S</i>. We consider both the problem of testing the existence of an <span>UPSE</span> of <i>G</i> on <i>S</i> (<span>UPSE Testing</span>) and the problem of enumerating all <span>UPSE</span>s of <i>G</i> on <i>S</i>. We prove that <span>UPSE Testing</span> is <span>NP</span>-complete even for <i>st</i>-graphs that consist of a set of directed <i>st</i>-paths sharing only <i>s</i> and <i>t</i>. On the other hand, if <i>G</i> is an <i>n</i>-vertex planar <i>st</i>-graph whose maximum <i>st</i>-cutset has size <i>k</i>, then <span>UPSE Testing</span> can be solved in <span>(mathcal {O}(n^{4k}))</span> time with <span>(mathcal {O}(n^{3k}))</span> space; also, all the <span>UPSE</span>s of <i>G</i> on <i>S</i> can be enumerated with <span>(mathcal {O}(n))</span> worst-case delay, using <span>(mathcal {O}(k n^{4k} log n))</span> space, after <span>(mathcal {O}(k n^{4k} log n))</span> set-up time. Moreover, for an <i>n</i>-vertex <i>st</i>-graph whose underlying graph is a cycle, we provide a necessary and sufficient condition for the existence of an <span>UPSE</span> on a given pointset, which can be tested in <span>(mathcal {O}(n log n))</span> time. Related to this result, we give an algorithm that, for a set <i>S</i> of <i>n</i> points, enumerates all the non-crossing monotone Hamiltonian cycles on <i>S</i> with <span>(mathcal {O}(n))</span> worst-case delay, using <span>(mathcal {O}(n^2))</span> space, after <span>(mathcal {O}(n^2))</span> set-up time.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 6","pages":"930 - 960"},"PeriodicalIF":0.9,"publicationDate":"2025-03-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-025-01302-2.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143938584","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}
AlgorithmicaPub Date : 2025-03-15DOI: 10.1007/s00453-025-01303-1
Giuseppe F. Italiano, Athanasios L. Konstantinidis, Charis Papadopoulos
{"title":"Structural Parameterization of Cluster Deletion","authors":"Giuseppe F. Italiano, Athanasios L. Konstantinidis, Charis Papadopoulos","doi":"10.1007/s00453-025-01303-1","DOIUrl":"10.1007/s00453-025-01303-1","url":null,"abstract":"<div><p>In the <span>Weighted Cluster Deletion</span> problem we are given a graph with non-negative integral edge weights and the task is to determine, for a target value <i>k</i>, if there is a set of edges of total weight at most <i>k</i> such that its removal results in a disjoint union of cliques. It is well-known that the problem is FPT parameterized by <i>k</i>, the total weight of edge deletions. In scenarios in which the solution size is large, naturally one needs to drop the constraint on the solution size. Here we study <span>Weighted Cluster Deletion</span> where the parameter does not represent the size of the solution, but the parameter captures structural properties of the input graph. Our main contribution is to classify the parameterized complexity of <span>Weighted Cluster Deletion</span> with three structural parameters, namely, vertex cover number, twin cover number and neighborhood diversity. We show that the problem is FPT when parameterized by the vertex cover number, whereas it becomes paraNP-hard when parameterized by the twin cover number or the neighborhood diversity. To illustrate the applicability of our FPT result, we turn our attention to the unweighted variant of the problem, namely <span>Cluster Deletion</span>. We show that <span>Cluster Deletion</span> is FPT parameterized by the twin cover number. This is the first algorithm with single-exponential running time parameterized by the twin cover number. Interestingly, we are able to achieve an FPT result for <span>Cluster Deletion</span> parameterized by the neighborhood diversity that involves an ILP formulation. In fact, our results generalize the parameterized setting by the solution size, as we deduce that both parameters, twin cover number and neighborhood diversity, are linearly bounded by the number of edge deletions.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 6","pages":"961 - 981"},"PeriodicalIF":0.9,"publicationDate":"2025-03-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143938586","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}
AlgorithmicaPub Date : 2025-03-14DOI: 10.1007/s00453-025-01305-z
Haitao Wang, Yiming Zhao
{"title":"Improved Algorithms for Distance Selection and Related Problems","authors":"Haitao Wang, Yiming Zhao","doi":"10.1007/s00453-025-01305-z","DOIUrl":"10.1007/s00453-025-01305-z","url":null,"abstract":"<div><p>In this paper, we propose new techniques for solving geometric optimization problems involving interpoint distances of a point set in the plane. Given a set <i>P</i> of <i>n</i> points in the plane and an integer <span>(1 le k le left( {begin{array}{c}n 2end{array}}right) )</span>, the distance selection problem is to find the <i>k</i>-th smallest interpoint distance among all pairs of points of <i>P</i>. The previously best deterministic algorithm solves the problem in <span>(O(n^{4/3} log ^2 n))</span> time (Katz and Sharir in SIAM J Comput 26(5):1384–1408, 1997 and SoCG 1993). In this paper, we improve their algorithm to <span>(O(n^{4/3} log n))</span> time. Using similar techniques, we also give improved algorithms on both the two-sided and the one-sided discrete Fréchet distance with shortcuts problem for two point sets in the plane. For the two-sided problem (resp., one-sided problem), we improve the previous work (Avraham et al. in ACM Trans Algorithms 11(4):29, 2015 and SoCG 2014) by a factor of roughly <span>(log ^2(m+n))</span> (resp., <span>((m+n)^{epsilon })</span>), where <i>m</i> and <i>n</i> are the sizes of the two input point sets, respectively. Other problems whose solutions can be improved by our techniques include the reverse shortest path problems for unit-disk graphs. Our techniques are quite general and we believe they will find many other applications in future.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 6","pages":"908 - 929"},"PeriodicalIF":0.9,"publicationDate":"2025-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143938336","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}
AlgorithmicaPub Date : 2025-03-13DOI: 10.1007/s00453-025-01304-0
Yongjie Yang
{"title":"On the Parameterized Complexity of Controlling Amendment and Successive Winners","authors":"Yongjie Yang","doi":"10.1007/s00453-025-01304-0","DOIUrl":"10.1007/s00453-025-01304-0","url":null,"abstract":"<div><p>The amendment procedure and the successive procedure have been widely employed in parliamentary and legislative decision making and have undergone extensive study in the literature from various perspectives. However, investigating them through the lens of computational complexity theory has not been as thoroughly conducted as for many other prevalent voting procedures heretofore. To the best of our knowledge, there is only one paper which explores the complexity of several strategic voting problems under these two procedures, prior to our current work. To provide a better understanding of to what extent the two procedures resist strategic behavior, we study the parameterized complexity of constructive/destructive control by adding/deleting voters/candidates for both procedures. To enhance the generalizability of our results, we also examine a more generalized form of the amendment procedure. Our exploration yields a comprehensive (parameterized) complexity landscape of these problems with respect to numerous parameters.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 6","pages":"842 - 907"},"PeriodicalIF":0.9,"publicationDate":"2025-03-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143938708","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}
AlgorithmicaPub Date : 2025-03-01DOI: 10.1007/s00453-025-01299-8
Nicole Megow, Lukas Nölke
{"title":"Online Metric Matching on the Line with Recourse","authors":"Nicole Megow, Lukas Nölke","doi":"10.1007/s00453-025-01299-8","DOIUrl":"10.1007/s00453-025-01299-8","url":null,"abstract":"<div><p>In online metric matching on the line, <i>n</i> requests appear one by one and have to be matched immediately and irrevocably to a given set of servers, all located on the real line. The goal is to minimize the sum of distances between the requests and their assigned servers. The best known online algorithm achieves a competitive ratio of <span>(Theta (log n))</span>, leaving a gap to the best-known lower bound of <span>(Omega (sqrt{log n}))</span>. In this work, we approach the problem in a recourse model where online decisions can be partially revised, allowing for the reassignment of previously matched edges. In contrast to the traditional online setting, we show that with an amortized recourse budget of <span>(O(log n))</span>, we can obtain an <i>O</i>(1)-competitive algorithm for online metric matching on the line. This is one of the first non-trivial results for metric matching with recourse. Additionally, for so-called alternating instances, where no more than one request lies between two servers, we achieve a near-optimal result. Specifically, we give a simple algorithm that is <span>((1+varepsilon ))</span>-competitive and reassigns any request at most <span>(O(frac{1}{varepsilon ^2}))</span> times. This special case is particularly noteworthy, as a lower bound of <span>(Omega (log n))</span>, constructed using such instances, applies to a broad class of online algorithms, including all deterministic algorithms studied in the literature.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 6","pages":"813 - 841"},"PeriodicalIF":0.9,"publicationDate":"2025-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-025-01299-8.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143938239","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}
AlgorithmicaPub Date : 2025-02-28DOI: 10.1007/s00453-025-01296-x
Ignaz Rutter, Darren Strash, Peter Stumpf, Michael Vollmer
{"title":"Simultaneous Representation of Proper and Unit Interval Graphs","authors":"Ignaz Rutter, Darren Strash, Peter Stumpf, Michael Vollmer","doi":"10.1007/s00453-025-01296-x","DOIUrl":"10.1007/s00453-025-01296-x","url":null,"abstract":"<div><p>In a confluence of combinatorics and geometry, simultaneous representations provide a way to realize combinatorial objects that share common structure. A standard case in the study of simultaneous representations is the <i>sunflower case</i> where all objects share the same common structure. While the recognition problem for general simultaneous interval graphs—the simultaneous version of arguably one of the most well-studied graph classes—is NP-complete, the complexity of the sunflower case for three or more simultaneous interval graphs is currently open. In this work we settle this question for <i>proper</i> interval graphs. We give an algorithm to recognize simultaneous proper interval graphs in linear time in the sunflower case where we allow any number of simultaneous graphs. Simultaneous <i>unit</i> interval graphs are much more ‘rigid’ and therefore have less freedom in their representation. We show they can be recognized in time <span>(mathcal {O}(|V|cdot |E|))</span> for any number of simultaneous graphs in the sunflower case where <span>(G=(V,E))</span> is the union of the simultaneous graphs. We further show that both recognition problems are in general NP-complete if the number of simultaneous graphs is not fixed. The restriction to the sunflower case is in this sense necessary.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 5","pages":"783 - 811"},"PeriodicalIF":0.9,"publicationDate":"2025-02-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-025-01296-x.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143919077","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}
AlgorithmicaPub Date : 2025-02-25DOI: 10.1007/s00453-025-01300-4
Benjamin Bergougnoux, Oscar Defrain, Fionn Mc Inerney
{"title":"Enumerating Minimal Solution Sets for Metric Graph Problems","authors":"Benjamin Bergougnoux, Oscar Defrain, Fionn Mc Inerney","doi":"10.1007/s00453-025-01300-4","DOIUrl":"10.1007/s00453-025-01300-4","url":null,"abstract":"<div><p>Problems from metric graph theory like <span>Metric Dimension</span>, <span>Geodetic Set</span>, and <span>Strong Metric Dimension</span> have recently had an impact in parameterized complexity by being the first known problems in <span>NP</span> to admit double-exponential lower bounds in the treewidth, and even in the vertex cover number for the latter, assuming the Exponential Time Hypothesis. We initiate the study of enumerating minimal solution sets for these problems and show that they are also of great interest in enumeration. Specifically, we show that enumerating minimal resolving sets in graphs and minimal geodetic sets in split graphs are equivalent to enumerating minimal transversals in hypergraphs (denoted <span>Trans-Enum</span>), whose solvability in total-polynomial time is one of the most important open problems in algorithmic enumeration. This provides two new natural examples to a question that emerged in recent works: for which vertex (or edge) set graph property <span>(Pi )</span> is the enumeration of minimal (or maximal) subsets satisfying <span>(Pi )</span> equivalent to <span>Trans-Enum</span>? As very few properties are known to fit within this context—namely, those related to minimal domination—our results make significant progress in characterizing such properties, and provide new angles to approach <span>Trans-Enum</span>. In contrast, we observe that minimal strong resolving sets can be enumerated with polynomial delay. Additionally, we consider cases where our reductions do not apply, namely graphs with no long induced paths, and show both positive and negative results related to the enumeration and extension of partial solutions.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 5","pages":"712 - 735"},"PeriodicalIF":0.9,"publicationDate":"2025-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143919252","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}
AlgorithmicaPub Date : 2025-02-25DOI: 10.1007/s00453-025-01301-3
Jessica Enright, Kitty Meeks, Hendrik Molter
{"title":"Counting Temporal Paths","authors":"Jessica Enright, Kitty Meeks, Hendrik Molter","doi":"10.1007/s00453-025-01301-3","DOIUrl":"10.1007/s00453-025-01301-3","url":null,"abstract":"<div><p>This work investigates the parameterised complexity of counting temporal paths. The problem of counting temporal paths is mainly motivated by temporal betweenness computation. The betweenness centrality of a vertex <i>v</i> is an important centrality measure that quantifies how many optimal paths between pairs of other vertices visit <i>v</i>. Computing betweenness centrality in a temporal graph, in which the edge set may change over discrete timesteps, requires us to count temporal paths that are optimal with respect to some criterion. For several natural notions of optimality, including <i>foremost</i> or <i>fastest</i> temporal paths, this counting problem reduces to <span>#Temporal Path</span>, the problem of counting <i>all</i> temporal paths between a fixed pair of vertices; like the problems of counting foremost and fastest temporal paths, <span>#Temporal Path</span> is #P-hard in general. Motivated by the many applications of this intractable problem, we initiate a systematic study of the parameterised and approximation complexity of <span>#Temporal Path</span>. We show that the problem presumably does not admit an FPT-algorithm for the feedback vertex number of the static underlying graph, and that it is hard to approximate in general. On the positive side, we prove several exact and approximate FPT-algorithms for special cases.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 5","pages":"736 - 782"},"PeriodicalIF":0.9,"publicationDate":"2025-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-025-01301-3.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143919253","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}
AlgorithmicaPub Date : 2025-02-21DOI: 10.1007/s00453-025-01295-y
Eric Rivals, Michelle Sweering, Pengfei Wang
{"title":"Convergence of the Number of Period sets in Strings","authors":"Eric Rivals, Michelle Sweering, Pengfei Wang","doi":"10.1007/s00453-025-01295-y","DOIUrl":"10.1007/s00453-025-01295-y","url":null,"abstract":"<div><p>Consider words of length <i>n</i>. The set of all periods of a word of length <i>n</i> is a subset of <span>({0,1,2,ldots ,n-1})</span>. However, not every subset of <span>({0,1,2,ldots ,n-1})</span> can be a valid set of periods. In a seminal paper in 1981, Guibas and Odlyzko proposed encoding the set of periods of a word into a binary string of length <i>n</i>, called an autocorrelation, where a 1 at position <i>i</i> denotes the period <i>i</i>. They considered the question of recognizing a valid period set, and also studied the number <span>(kappa _n)</span> of valid period sets for strings of length <i>n</i>. They conjectured that <span>(ln kappa _n)</span> asymptotically converges to a constant times <span>((ln n)^2)</span>. Although improved lower bounds for <span>(ln kappa _n/(ln n)^2)</span> were proved in 2001, the question of a tight upper bound has remained open since Guibas and Odlyzko’s paper. Here, we exhibit an upper bound for this fraction, which implies its convergence and closes this longstanding conjecture. Moreover, we extend our result to find similar bounds for the number of correlations: a generalization of autocorrelations that encodes the overlaps between two strings.\u0000</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 5","pages":"690 - 711"},"PeriodicalIF":0.9,"publicationDate":"2025-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143918966","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}
AlgorithmicaPub Date : 2025-02-19DOI: 10.1007/s00453-025-01298-9
Tobias Friedrich, Timo Kötzing, Aneta Neumann, Frank Neumann, Aishwarya Radhakrishnan
{"title":"Analysis of the (1+1) EA on LeadingOnes with Constraints","authors":"Tobias Friedrich, Timo Kötzing, Aneta Neumann, Frank Neumann, Aishwarya Radhakrishnan","doi":"10.1007/s00453-025-01298-9","DOIUrl":"10.1007/s00453-025-01298-9","url":null,"abstract":"<div><p>Understanding how evolutionary algorithms perform on constrained problems has gained increasing attention in recent years. In this paper, we study how evolutionary algorithms optimize constrained versions of the classical LeadingOnes problem. We first provide a run time analysis for the classical (1+1) EA on the LeadingOnes problem with a deterministic cardinality constraint, giving <span>(Theta (n (n-B)log (B) + nB))</span> as the tight bound. Our results show that the behaviour of the algorithm is highly dependent on the constraint bound of the uniform constraint. Afterwards, we consider the problem in the context of stochastic constraints and provide insights using theoretical and experimental studies on how the (<span>(mu )</span>+1) EA is able to deal with these constraints in a sampling-based setting.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"87 5","pages":"661 - 689"},"PeriodicalIF":0.9,"publicationDate":"2025-02-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-025-01298-9.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143919145","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}