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 G. 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 O(|G||Σ|κrh) space and O(|G||Σ|κrh2) time, where h is the height of the derivation tree of G and r is the maximal rank of a terminal edge occurring in the grammar.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call