首页> 外文会议>International Symposium on Algorithms and Computation >Computing Frequency Dominators and Related Problems
【24h】

Computing Frequency Dominators and Related Problems

机译:计算频率优势和相关问题

获取原文

摘要

We consider the problem of finding frequency dominators in a directed graph with a single source vertex and a single terminal vertex. A vertex x is a frequency dominator of a vertex y if and only if in each source to terminal path, the number of occurrences of x is at least equal to the number of occurrences of y. This problem was introduced in a paper by Lee et al. [11] in the context of dynamic program optimization, where an efficient algorithm to compute the frequency dominance relation in reducible graphs was given. In this paper we show that frequency dominators can be efficiently computed in general directed graphs. Specifically, we present an algorithm that computes a sparse (O(n)-space), implicit representation of the frequency dominance relation in O(m + n) time, where n is the number of vertices and m is the number of arcs of the input graph. Given this representation we can report all the frequency dominators of a vertex in time proportional to the output size, and answer queries of whether a vertex x is a frequency dominator of a vertex y in constant time. Therefore, we get the same asymptotic complexity as for the regular dominators problem. We also show that, given our representation of frequency dominance, we can partition the vertex set into regions in O(n) time, such that all vertices in the same region have equal number of appearances in any source to terminal path. The computation of regions has applications in program optimization and parallelization.
机译:我们考虑使用单个源顶点和单个终端顶点的定向图中查找频率优势的问题。顶点X是顶点Y的频率计数器,如果在每个源到终端路径中,则X的出现次数至少等于y的出现次数。 Lee等人的论文中介绍了这个问题。在动态程序优化的上下文中,给出了在减少图形中计算频率优势关系的有效算法的情况下。在本文中,我们表明,可以以一般的指导图表有效地计算频率计数器。具体地,我们介绍了一种计算稀疏(O(n) - 空间)的算法,在O(m + n)时间内的频率优势关系的隐含表示,其中n是顶点的数量,m是m是弧的数量输入图。鉴于此表示,我们可以以与输出大小成比例地报告顶点的所有频率分支,并回答顶点X是恒定时间的顶点y的频率主导者的查询。因此,我们得到了与常规占主导地位问题相同的渐近复杂性。我们还表明,鉴于我们的频率优势的代表,我们可以将顶点分配到O(n)时间的区域中,使得同一区域中的所有顶点在任何源中的终端路径中的相同数量的出现。区域的计算具有在程序优化和并行化中的应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号