Abstract
The complexity of node rewriting graph grammars is investigated, i.e. the membership problem for sets of graphs L(G) generated by directed, node and edge label controlled graph grammars G. We improve known results on the membership problem and comprise them into the following sharp characterization of the P vs. NP borderline, which is an "if and only if" result.
∀G: (fCR ∧ connected ∧ bounded degree) then L(G) is in P.
∃G: not (fCR ∧ connected ∧ bounded degree) and L(G) is NP hard.
Here, fCR means that the graph grammar G has the finite Church Rosser property, and connected and bounded degree means that the graphs in the generated language L(G) are connected and of bounded degree.
Preview
Unable to display preview. Download preview PDF.
References
IJ.J. Aalbersberg, A. Ehrenfeucht and G. Rozenberg, "On the membership problem for regular DNLC grammars". Discrete Applied Mathematics 13 (1986), 79–85.
IJ.J. Aalbersberg, J. Engelfriet and G. Rozenberg, "The complexity of regular DNLC graph languages". Report 86-03, Rijksuniversiteit Leiden (1986).
R.V. Book, "On the complexity of formal grammars", Acta Informatica, Vol.9 (1978), 171–182
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.
E. Dahlhaus and M. Warmuth, "Membership for growing context sensitive grammars is polynomial", Lecture Notes in Computer Science 214 (1986), 85–99.
H. Ehrig, A. Rosenfeld and G Rozenberg (eds.), Proc. 3rd Intern. Workshop on Graph Grammars and their Application to Computer Science (1986), Lecture Notes in Computer Science (to appear).
J. Engelfriet, G. Leih and G. Rozenberg, "APEX graph grammars and attribute grammars", Report 87-04, Rijksuniversiteit Leiden (1987).
A. Ehrenfeucht, M. Main and G. Rozenberg, "Restrictions on NLC graph grammars", Theoret. Comput. Sci 31 (1984), 211–223.
M.R. Garey and D.S. Johnson, "Computers and Intractability — A Guide to the Theory of NP Completeness", Freeman, San Francisco (1979).
D.Janssens, "Node label controlled graph grammers",Ph. D. thesis, University of Antwerp, (1983).
D. Janssens and G. Rozenberg, "On the structure of node label controlled graph languages", Information Sciences 20 (1980), 191–216.
D. Janssens and G. Rozenberg, "Restrictions, extensions, and variations of NLC grammars", Information Sciences 20 (1980), 217–244.
D. Janssens and G. Rozenberg, "A characterization of context-free string languages by directed node-label controlled graph grammars", Acta Informatica 16 (1981), 63–85.
D. Janssens and G. Rozenberg, "Graph grammars with neighbourhood-controlled embedding", Theoret. Comput. Sci. 21 (1982), 55–74.
D. Janssens, G. Rozenberg, R. Verraedt, "On sequential and parallel node-rewriting graph grammars", Computer Graphics and Image Processing 18 (1982), 279–304.
M. Kaul, "Syntaxanalyse von Graphen bei Präzedenz-Graph-Grammatiken", Technical Report MIP 8610, Universität Passau, (1986).
K.J. Lange and E. Welzl, "String grammars with disconnecting or a basic root of the difficulty in graph grammar parsing", Discrete Applied Mathematics 16, 1987, 17–30.
M. Nagl, "Graph-Grammatiken Theorie, Implementierung, Anwendungen", Vieweg Verlag, Braunschweig (1979).
G. Rozenberg and E. Welzl, "Boundary NLC graph grammars — basic definitions, normal forms, and complexity", Inform. and Control 69 (1986), 136–167.
R. Schuster, "Graphgrammatiken und Grapheinbettungen: Algorithmen und Komplexität" Dissertation, Universität Passau, (1987).
A. O. Slisenko, "Context-free grammars as a tool for describing polynomial-time subclasses of hard problems", Inform. Process. Letters 14 (1982), 52–56.
J.D. Ullman, "Computational Aspects of VLSI", Computer Science Press (1984).
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1988 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Brandenburg, F.J. (1988). On polynomial time graph grammars. In: Cori, R., Wirsing, M. (eds) STACS 88. STACS 1988. Lecture Notes in Computer Science, vol 294. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0035847
Download citation
DOI: https://doi.org/10.1007/BFb0035847
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-18834-6
Online ISBN: 978-3-540-48190-4
eBook Packages: Springer Book Archive