English

Constant Delay Traversal of Grammar-Compressed Graphs with Bounded Rank

Data Structures and Algorithms 2019-07-25 v1

Abstract

We present a pointer-based data structure for constant time traversal of the edges of an edge-labeled (alphabet Σ\Sigma) directed hypergraph (a graph where edges can be incident to more than two vertices, and the incident vertices are ordered) given as hyperedge-replacement grammar GG. It is assumed that the grammar has a fixed rank κ\kappa (maximal number of vertices connected to a nonterminal hyperedge) and that each vertex of the represented graph is incident to at most one σ\sigma-edge per direction (σΣ\sigma \in \Sigma). Precomputing the data structure needs O(GΣκrh)O(|G||\Sigma|\kappa r h) space and O(GΣκrh2)O(|G||\Sigma|\kappa rh^2) time, where hh is the height of the derivation tree of GG and rr is the maximal rank of a terminal edge occurring in the grammar.

Keywords

Cite

@article{arxiv.1907.10444,
  title  = {Constant Delay Traversal of Grammar-Compressed Graphs with Bounded Rank},
  author = {Sebastian Maneth and Fabian Peternek},
  journal= {arXiv preprint arXiv:1907.10444},
  year   = {2019}
}