用按秩并策略构造的并查找树的识别是NP完全的
Recognizing Union-Find trees built up using union-by-rank strategy is NP-complete
摘要:
不交集森林是由并查找树组成的数据结构,由于其效率而具有广泛的实际应用。尽管他们是众所周知的,没有确切的结构特征,这些树是已知的(这样的特征存在于不使用路径压缩构建的联合树)的情况下,假设联合的秩合并策略。在本文中,我们通过一个简单的推操作提供了这样一个特征,并表明,决策问题是否一个给定的树(连同其节点的秩信息)是一个联合查找树是NP完全的,补充了我们以前的类似结果的union-by-size策略。
英文摘要:
Disjoint-Set forests, consisting of Union-Find trees, are data structures having a widespread practical application due to their efficiency. Despite them being well-known, no exact structural characterization of these trees is known (such a characterization exists for Union trees which are constructed without using path compression) for the case assuming union-by-rank strategy for merging. In this paper we provide such a characterization by means of a simple push operation and show that the decision problem whether a given tree (along with the rank info of its nodes) is a Union-Find tree is NP-complete, complementing our earlier similar result for the union-by-size strategy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。