Christopher Hampson, Daniel J. Harvey, Costas S. Iliopoulos, Jesper Jansson, Zara Lim, Wing-Kin Sung
{"title":"MUL-Tree Pruning for Consistency and Compatibility","authors":"Christopher Hampson, Daniel J. Harvey, Costas S. Iliopoulos, Jesper Jansson, Zara Lim, Wing-Kin Sung","doi":"10.1007/s00453-026-01400-9","DOIUrl":null,"url":null,"abstract":"<div><p>A multi-labelled tree (or MUL-tree) is a rooted tree leaf-labelled by a set of labels, where each label may appear more than once in the tree. We consider the MUL-tree Set Pruning for Consistency problem (<span>\\(\\textsf{MULSETPC}\\)</span>), which takes as input a set of MUL-trees and asks whether there exists a perfect pruning of each MUL-tree that results in a consistent set of single-labelled trees. <span>\\(\\textsf{MULSETPC}\\)</span> was proven to be NP-complete by Gascon et al. when the MUL-trees are binary, each leaf label is used at most three times, and the number of MUL-trees is unbounded. To determine the computational complexity of the problem when the number of MUL-trees is constant was left as an open problem. Here, we resolve this question by proving a much stronger result, namely that <span>\\(\\textsf{MULSETPC}\\)</span> is NP-complete even when there are only two MUL-trees, every leaf label is used at most twice, and either every MUL-tree is binary or every MUL-tree has constant height. Furthermore, we introduce an extension of <span>\\(\\textsf{MULSETPC}\\)</span> that we call <span>\\(\\textsf{MULSETPComp}\\)</span>, which replaces the notion of consistency with compatibility. We prove that <span>\\(\\textsf{MULSETPComp}\\)</span> is NP-complete even in two highly restricted cases – when there are only two MUL-trees, every MUL-tree has constant height and either every leaf label is used at most thrice or the instance contains a single-labelled tree containing all leaf labels. Finally, we present a polynomial-time algorithm for a special case of <span>\\(\\textsf{MULSETPC}\\)</span> with a constant number of binary MUL-trees where every leaf label appears exactly once in at least one MUL-tree.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"88 4","pages":""},"PeriodicalIF":1.0000,"publicationDate":"2026-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-026-01400-9","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
A multi-labelled tree (or MUL-tree) is a rooted tree leaf-labelled by a set of labels, where each label may appear more than once in the tree. We consider the MUL-tree Set Pruning for Consistency problem (\(\textsf{MULSETPC}\)), which takes as input a set of MUL-trees and asks whether there exists a perfect pruning of each MUL-tree that results in a consistent set of single-labelled trees. \(\textsf{MULSETPC}\) was proven to be NP-complete by Gascon et al. when the MUL-trees are binary, each leaf label is used at most three times, and the number of MUL-trees is unbounded. To determine the computational complexity of the problem when the number of MUL-trees is constant was left as an open problem. Here, we resolve this question by proving a much stronger result, namely that \(\textsf{MULSETPC}\) is NP-complete even when there are only two MUL-trees, every leaf label is used at most twice, and either every MUL-tree is binary or every MUL-tree has constant height. Furthermore, we introduce an extension of \(\textsf{MULSETPC}\) that we call \(\textsf{MULSETPComp}\), which replaces the notion of consistency with compatibility. We prove that \(\textsf{MULSETPComp}\) is NP-complete even in two highly restricted cases – when there are only two MUL-trees, every MUL-tree has constant height and either every leaf label is used at most thrice or the instance contains a single-labelled tree containing all leaf labels. Finally, we present a polynomial-time algorithm for a special case of \(\textsf{MULSETPC}\) with a constant number of binary MUL-trees where every leaf label appears exactly once in at least one MUL-tree.
期刊介绍:
Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential.
Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming.
In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.