On the Complexity of Fundamental Problems for DAG-Compressed Graphs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chudigiewitsch, Florian, Tantau, Till, Winkler, Felix
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917358131478528
author Chudigiewitsch, Florian
Tantau, Till
Winkler, Felix
author_facet Chudigiewitsch, Florian
Tantau, Till
Winkler, Felix
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22063
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle On the Complexity of Fundamental Problems for DAG-Compressed Graphs
Chudigiewitsch, Florian
Tantau, Till
Winkler, Felix
Data Structures and Algorithms
Computational Complexity
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.
title On the Complexity of Fundamental Problems for DAG-Compressed Graphs
topic Data Structures and Algorithms
Computational Complexity
url https://arxiv.org/abs/2603.22063