【24h】

Nested Set Union

机译:嵌套集联合

获取原文

摘要

We consider a version of the classic disjoint set union (union-find) problem in which there are two partitions of the elements, rather than just one, but restricted such that one partition is a refinement of the other. We call this the nested set union problem. This problem occurs in a new algorithm to find dominators in a flow graph. One can solve the problem by using two instances of a data structure for the classical problem, but it is natural to ask whether these instances can be combined. We show that the answer is yes: the nested problem can be solved by extending the classic solution to support two nested partitions, at the cost of at most a few bits of storage per element and a small constant overhead in running time. Our solution extends to handle any constant number of nested partitions.
机译:我们考虑经典不相交集并集(联合查找)问题的一种版本,其中元素有两个分区,而不仅仅是一个分区,但受限制使得一个分区是另一个分区的改进。我们称其为嵌套集并集问题。在用于在流程图中查找支配者的新算法中会出现此问题。一个人可以通过对经典问题使用数据结构的两个实例来解决该问题,但是自然要问这些实例是否可以合并。我们证明答案是肯定的:嵌套问题可以通过将经典解决方案扩展为支持两个嵌套分区来解决,其代价是每个元素最多存储几位,并且运行时的开销很小。我们的解决方案扩展到可以处理任何恒定数量的嵌套分区。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号