Grammar-Based Graph Compression
Abstract
We present a new graph compressor that works by recursively detecting repeated substructures and representing them through grammar rules. We show that for a large number of graphs the compressor obtains smaller representations than other approaches. Specific queries such as reachability between two nodes or regular path queries can be evaluated in linear time (or quadratic times, respectively), over the grammar, thus allowing speed-ups proportional to the compression ratio.
- Publication:
-
arXiv e-prints
- Pub Date:
- April 2017
- DOI:
- 10.48550/arXiv.1704.05254
- arXiv:
- arXiv:1704.05254
- Bibcode:
- 2017arXiv170405254M
- Keywords:
-
- Computer Science - Data Structures and Algorithms