Random Graph Generation in Context-Free Graph Languages
We present a method for generating random hypergraphs in context-free hypergraph languages. It is obtained by adapting Mairson's generation algorithm for context-free string grammars to the setting of hyperedge replacement grammars. Our main results are that for non-ambiguous hyperedge replacement grammars, the method generates hypergraphs uniformly at random and in quadratic time. We illustrate our approach by a running example of a hyperedge replacement grammar generating term graphs.
Authors
- Detlef Plump (ORCID: https://orcid.org/0000-0002-1148-822X)
- Federico Vastarini
Institutions
- University of York (GB)
Publication Details
- Journal
- Electronic Proceedings in Theoretical Computer Science
- Published
- 2024-09-28
- DOI
- https://doi.org/10.4204/eptcs.408.7
- Primary Topic
- Machine Learning and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00