On partially ordered graph grammars
Graph grammars are systems for the generation of directed, node and edge labeled graphs. They rewrite single nodes only and establish connections between the inserted graph and the neighbors of the replaced node on the basis of node labels and edge labels. If there is only a single edge label, then graph grammars are closely related to NLC graph grammars.
A partially ordered graph is a graph together with a spanning tree. These components are distinguished by their edge labels. A partially ordered graph grammar is the union of a graph grammar and a tree grammar. These components fit together such that their rewriting processes yield partially ordered graphs with the tree grammar generating spanning trees.
Here we concentrate on the computational complexity of some restricted types of graph grammars and their languages with emphasis on intractability. It turns out that node and edge labeled tree grammars generate PSPACE-complete sets of connected graphs of finite degree, and that one-sided linear edge-unlabeled tree grammars generate NP-complete sets of graphs. However, the complexity is polynomial, if the graphs have finite degree and are generated by a one-sided linear partially ordered graph grammar. This situation closely parallels the case of NLC and regular BNLC grammars. NLC graph grammars can be seen as undirected, edge-unlabeled graph grammars, and, on the other hand, edge-unlabeled undirected one-sided linear partially ordered graph grammars and edge-unlabeled undirected one-sided linear partially ordered tree-graph grammars are special BNLC graph grammars.
Keywordsnode and edge labeled graphs trees graph grammars tree-graph grammars partially orderd graph grammars NLC ELC ECE embeddings computational complexity PSPACE and NP-completeness
Unable to display preview. Download preview PDF.
- IJ.J. Aalbersberg, J. Engelfriet and G. Rozenberg, "The complexity of regular DNLC graph languages". Report 86-03, Rijksuniversiteit Leiden (1986).Google Scholar
- F. J. Brandenburg, "On the complexity of the membership problem of graph grammars", in: Proceedings of the Workshop on Graphtheoretic Concepts in Computer Science 83, M.Nagl and J. Perl, eds., Tauner-Verlag Linz (1983), 40–49.Google Scholar
- V. Claus, H. Ehrig, and G Rozenberg (eds.), "Graph Grammars and their Application to Computer Science and Biology", Lecture Notes in Computer Science 73 (1980).Google Scholar
- M.R. Garey and D.S. Johnson, "Computers and Intractability — A Guide to the Theory of NP Completeness", Freeman, San Francisco (1979).Google Scholar
- F. Harary, "Graph Theory", Addison Wesley, Reading (1969).Google Scholar
- M.A. Harrison, "Introduction to Formal Language Theory", Addison Wesley, Reading, (1979).Google Scholar
- D.Janssens, "Node label controlled graph grammers", Ph.D. thesis, University of Antwerp, (1983).Google Scholar
- D. Janssens and G. Rozenberg, "Decision problems for node label controlled graph grammars", J. Comput. System Sci. 22 (1981), 144–177.Google Scholar
- M. Kaul, "Syntaxanalyse von Graphen bei Präzedenz-Graph-Grammatiken", Technical Report MIP 8610, Universität Passau, (1986).Google Scholar
- M. Kaul, "Practical applications of precedence graph grammars", this volume.Google Scholar
- H.J. Ludwigs, "Properties of ordered graph grammars", Lecture Notes in Computer Science 100 (1981), 70–77.Google Scholar
- M. Nagl, "Graph-Grammatiken Theorie, Implementierung, Anwendungen", Vieweg Verlag, Braunschweig (1979).Google Scholar
- G. Rozenberg and E. Welzl, "Boundary NLC graph grammars — basic definitions, normal forms, and complexity", Inform. and Control 69 (1986), 136–167.Google Scholar
- R. Schuster, "Graphgrammatiken und Grapheinbettungen: Algorithmen und Komplexität" Dissertation, Universität Passau, (1987).Google Scholar
- Q. Y. Shi and K. S. Fu, "Parsing and translation of (attributed) expansive graph languages for science analysis", Proc. 6 ICPR, Munich (1982), 684–687.Google Scholar