Constant Delay Traversal of Grammar-Compressed Graphs with Bounded Rank
arXiv:1907.10444
Abstract
We present a pointer-based data structure for constant time traversal of the edges of an edge-labeled (alphabet ) 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 . It is assumed that the grammar has a fixed rank (maximal number of vertices connected to a nonterminal hyperedge) and that each vertex of the represented graph is incident to at most one -edge per direction (). Precomputing the data structure needs space and time, where is the height of the derivation tree of and is the maximal rank of a terminal edge occurring in the grammar.