arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.22063cs.DScs.CC
收藏

关于DAG压缩图基本问题复杂性的研究

On the Complexity of Fundamental Problems for DAG-Compressed Graphs

Institute for Theoretical Computer Science, Universität zu Lübeck(吕贝克大学理论计算机科学研究所);Universität zu Lübeck(吕贝克大学)

Florian Chudigiewitsch, Till Tantau, Felix Winkler

AI总结:

本文探讨了DAG压缩图中基本问题的复杂性,证明了DAG压缩比树压缩更高效,并展示了Kruskal算法可直接应用于DAG压缩,同时证明了计算最小DAG压缩的NP难性。

摘要:

DAG压缩是一种简单的数据结构,用于存储图中顶点簇的连接方式,其中簇通过有向无环图(DAG)中的可达汇点集间接描述。它们推广了树压缩,其中簇形成树状层次结构,我们首次证明DAG压缩能实现比树压缩更好的压缩效果。我们对DAG压缩的兴趣源于许多简单标准算法,如图的广度优先搜索,可以直接在压缩图上运行,其运行时间相对压缩图(通常较小)的大小。我们通过展示Kruskal算法可适应于DAG压缩,将其添加到此类算法列表中。在负面方面,我们回答了之前工作的核心开放问题,即如何计算给定图的最小大小DAG压缩:这是NP难的;并且在动态设置中,当输入图中添加或删除单条边时,这一问题同样成立。

英文摘要:

A DAG compression of a (typically dense) graph is a simple data structure that stores how vertex clusters are connected, where the clusters are described indirectly as sets of reachable sinks in a directed acyclic graph (DAG). They generalize tree compressions, where the clusters form a tree-like hierarchy, and we give the first proof that DAG compressions can achieve better compressions than tree compressions. Our interest in DAG compression stems from the fact that several simple standard algorithms, like breadth-first search on graphs, can be implemented so that they work directly on the compressed rather than on the original graph and so that, crucially, the runtime is relative to the (typically small) size of the compressed graph. We add another entry to the list of algorithms where this is possible, by showing that Kruskal's algorithm for computing minimum spanning trees can be adapted to work directly on DAG compressions. On the negative side, we answer the central open problem from previous work, namely how hard it is to compute a minimum-size DAG compression for a given graph: This is NP-hard; and this is even the case for the dynamic setting, where we must update the DAG compression optimally when a single edge is added or deleted in the input graph.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑