Graph Transformation in a Nutshell



Similar documents
Graph Transformation in a Nutshell

Model Transformation by Graph Transformation: A Comparative Study

Model-Based Development of Web Applications Using Graphical Reaction Rules

Security Analysis of Dynamic Infrastructure Clouds

Towards Contract-based Testing of Web Services

Test Coverage Criteria for Autonomous Mobile Systems based on Coloured Petri Nets

A Static Analysis Technique for Graph Transformation Systems

Graph-Grammar Based Completion and Transformation of SDL/UML-Diagrams

Chapter 4 Software Lifecycle and Performance Analysis

Solving Simultaneous Equations and Matrices

2. Basic Relational Data Model

Component visualization methods for large legacy software in C/C++

UML TUTORIALS THE USE CASE MODEL

Using UML Part Two Behavioral Modeling Diagrams

A Scala DSL for Rete-based Runtime Verification

Cloud Computing is NP-Complete

Reliability Guarantees in Automata Based Scheduling for Embedded Control Software

Structure of Presentation. The Role of Programming in Informatics Curricula. Concepts of Informatics 2. Concepts of Informatics 1

Completeness, Versatility, and Practicality in Role Based Administration

A permutation can also be represented by describing its cycles. What do you suppose is meant by this?

Distributed Database for Environmental Data Integration

BUSINESS RULES AS PART OF INFORMATION SYSTEMS LIFE CYCLE: POSSIBLE SCENARIOS Kestutis Kapocius 1,2,3, Gintautas Garsva 1,2,4

Teaching Object-Oriented Concepts with Eclipse

Proceedings of the 6th Educators Symposium: Software Modeling in Education at MODELS 2010 (EduSymp 2010)

Data Modeling Basics

Process Modelling from Insurance Event Log

Graph theoretic approach to analyze amino acid network

Execution of A Requirement Model in Software Development

Business Process- and Graph Grammar-Based Approach to ERP System Modelling

A Framework for the Semantics of Behavioral Contracts

Automatic Generation of Consistency-Preserving Edit Operations for MDE Tools

For example, estimate the population of the United States as 3 times 10⁸ and the

Verifying Semantic of System Composition for an Aspect-Oriented Approach

Appendix... B. The Object Constraint

Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries

On translating UML models into graph transformation systems $

From Workflow Design Patterns to Logical Specifications

Instructional Systems Design

The ProB Animator and Model Checker for B

Performance Level Descriptors Grade 6 Mathematics

MedView: A Declarative Approach to Evidence-Based Medicine

A terminology model approach for defining and managing statistical metadata

Software quality improvement via pattern matching

Artificial Intelligence

Draft Martin Doerr ICS-FORTH, Heraklion, Crete Oct 4, 2001

OPRE 6201 : 2. Simplex Method

An Interactive Visualization Tool for the Analysis of Multi-Objective Embedded Systems Design Space Exploration

Computer Science. General Education Students must complete the requirements shown in the General Education Requirements section of this catalog.

Business Modeling with UML

Introduction to Quadratic Functions

THE WHE TO PLAY. Teacher s Guide Getting Started. Shereen Khan & Fayad Ali Trinidad and Tobago

A Pattern-based Framework of Change Operators for Ontology Evolution

Software Requirements Specification of A University Class Scheduler

How to realize software evolution of existing BOSS via ZTE SEEM

Selbo 2 an Environment for Creating Electronic Content in Software Engineering

MEng, BSc Applied Computer Science

So today we shall continue our discussion on the search engines and web crawlers. (Refer Slide Time: 01:02)

Winery A Modeling Tool for TOSCA-based Cloud Applications

A first step towards modeling semistructured data in hybrid multimodal logic

Using UML Part One Structural Modeling Diagrams

Statistical Forecasting of High-Way Traffic Jam at a Bottleneck

Professional Organization Checklist for the Computer Science Curriculum Updates. Association of Computing Machinery Computing Curricula 2008

International Journal of Scientific & Engineering Research, Volume 4, Issue 11, November ISSN

Competitive Analysis of On line Randomized Call Control in Cellular Networks

Random vs. Structure-Based Testing of Answer-Set Programs: An Experimental Comparison

From Object Oriented Conceptual Modeling to Automated Programming in Java

Integration of Application Business Logic and Business Rules with DSL and AOP

Keywords Aspect-Oriented Modeling, Rule-based graph transformations, Aspect, pointcuts, crosscutting concerns.

Object Oriented Programming. Risk Management

KNOWLEDGE ORGANIZATION

Advanced compiler construction. General course information. Teacher & assistant. Course goals. Evaluation. Grading scheme. Michel Schinz

The BPM to UML activity diagram transformation using XSLT

Evaluating OO-CASE tools: OO research meets practice

MEng, BSc Computer Science with Artificial Intelligence

Sequence Diagrams. Massimo Felici. Massimo Felici Sequence Diagrams c


Support Materials for Core Content for Assessment. Mathematics

Questions? Assignment. Techniques for Gathering Requirements. Gathering and Analysing Requirements

Course Syllabus For Operations Management. Management Information Systems

Layered Approach to Development of OO War Game Models Using DEVS Framework

UML TUTORIALS THE COMPONENT MODEL

Quotes from Object-Oriented Software Construction

StaRVOOrS: A Tool for Combined Static and Runtime Verification of Java

Access Code: RVAE4-EGKVN Financial Aid Code: 6A9DB-DEE3B-74F

Tool Support for Model Checking of Web application designs *

On Integer Additive Set-Indexers of Graphs

Transcription:

Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 www.elsevier.com/locate/entcs Graph Transformation in a Nutshell Reiko Heckel 1 Department of Computer Science University of Leicester, United Kingdom Abstract Even sophisticated techniques start out from simple ideas. Later, in reply to application needs or theoretical problems new concepts are introduced and new formalisations proposed, often to a point where the original simple core is hardly recognizably. In this paper we provide a non-technical introduction to the basic concepts of typed graph transformation systems, completed by a survey of more advanced concepts, and explain some of its history and motivations. Keywords: rule-basad graph transformation, typed attributed graphs, application conditions and constraints, control conditions, multi objects 1 Introduction Graphs and diagrams provide a simple and powerful approach to a variety of problems that are typical to computer science in general, and software engineering in particular. In fact, for most activities in the software process, a variety of visual notations have been proposed, including state diagrams, Structured Analysis, control flow graphs, architectural description languages, function block diagrams, and the UML family of languages. These notations produce models that can be easily seen as graphs and thus graph transformations are involved, either explicitly or behind the scenes, when specifying how these models should be built and interpreted, and how they evolve over time and are mapped to implementations. At the same time, graphs provide a universally adopted data structure, as well as a model for the topology of 1 Email: reiko@mcs.le.ac.uk 1571-0661/$ see front matter 2006 Elsevier B.V. All rights reserved. doi:10.1016/j.entcs.2005.12.018

188 R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 object-oriented, component-based and distributed systems. Computations in such systems are therefore naturally modelled as graph transformations, too. Graph transformations have originally evolved in reaction to shortcomings in the expressiveness of classical approaches to rewriting, like Chomsky grammars and term rewriting, to deal with non-linear structures. The first proposals, appearing in the late sixties and early seventies [10,11], are concerned with rule based image recognition, translation of diagram languages, etc. In this paper, we first introduce the basic concepts of graph transformation systems. Section 3 provides a high-level survey of more advanced concepts, and Section 4 gives references for further reading. 2 The Basic Approach Modelling can be described as a two-dimensional abstraction process. The first dimension consists in building models as representations of reality. The second dimension is generalisation, i.e., the extraction of concepts from concrete objets, or of rules from observed behaviour. We will deal with generalisation first, reserving representation issues for Sect. 2.2. 2.1 Modelling by Example It is a matter of philosophical debate if generalisations exist in reality or if, e.g., the concept of car as generalisation of individual cars is part of the human perception of the world. Avoiding this discission, we will illustrate two forms of generalisation by means of a simple video game of PacMan, for didactic purposes playing the role of reality. Later, the insights gained from this example shall be transferred to the graph-based representation to explain some of the elementary concepts of graph transformation. Figure 1 exemplifies both conceptual and behavioural generalisation. Our observation of the game is represented by the scenario in the middle of the figure in three successive snapshots. Conceptual generalisation extracts three types of characters, PacMan, Ghost, andmarble shown in the bottom, each of which has several instances in the scenario. This conceptual generalisation and the corresponding relation between a concept (type) and its instances is the first basic idea. From the observed transformations, behavioural generalisation extracts the rules in the top, encapsulating the changes from one snapshot to the next. Rules can be derived systematically by determining their scope in the transformation and cutting off (abstracting from) the irrelevant context. For the

R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 189 collect kill Rules generalization generalization Scenario Concepts Fig. 1. From snapshots and scenarios to concepts and rules rules collect and kill in the top of the figure, their scope is given by the areas in the dashed and dotted boxes, respectively. The actual game, from which the snapshots are taken, has been produced using the StageCast visual programming environment for video games. The environment evolved out of a didactic experiment on teaching the basics of programming to children from the age of 7. The idea of extracting rules as general behaviour descriptions from sample state transformations is called programming by example and represents the main didactic tool of the Stage- Cast environment. It also provides a perfect example of the second basic idea of graph transformation: the definition of rules as specifications of state transformations. In the following, we shall turn back to the first dimension of modelling, transferring the generalisations described above from reality to its representation in a model. We will use graphs as means to represent snapshots, concepts, and rules the third basic idea of the approach. 2.2 Type and Instance Graphs Graphs provide the most basic mathematical model for entities and relations. A graph consists of a set of vertices V and a set of edges E such that each edge e in E has a source and a target vertex s(e) andt(e) inv, respectively. Like the graph G in the upper right of Fig. 2, graphs can represent snapshots by modelling concrete entities as vertices and relations between theses entities as edges. In our model, vertices, G:Ghost M:Marble represent the corresponding characters in the snapshot. Another type of vertex is used to represent fields, i.e., the open spaces in the snapshot where characters can be located. Edges represent the current location of characters as well as the

190 R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 snapshot instance graph G representation G:Ghost marbles=3 F4:Field M:Marble generalization typing concepts representation Ghost * 1 1 Field * 1 * Marble PacMan marbles:int type graph TG Fig. 2. Type and instance graph of the PacMan example neighbourhood relation of fields. In modelling the snapshot we have implicitly assumed that vertices have a type, like F 1toF 4 having type F ield. The type of a vertex (or an edge) represents the conceptual generalisation of the corresponding real-world entity. Like an individual snapshot, also a collection of interrelated concepts may be represented as a graph. Figure 2 in the bottom right shows an example of a type graph representing the conceptual structure of the PacMan game and providing the types for the instance graph in the top. The relation between concepts and their occurrences in snapshots is formally captured by the notion of typed graphs: A fixed type graph TGrepresents the type (concept) level and its instance graphs the individual snapshots. This distinction is a recurring pattern, like in class and objects, data base schema and states, XML schema and documents, etc. We use the notation of class and object diagrams in the Unified Modelling Language (UML) to visualise type and instance graphs and their relationship, i.e., o : C represents a vertex o (an object) of type C (a class). In addition to vertices and edges, graphs may contain attributes to store values of pre-defined data types. In our example, this notion is used to represent the number of marbles PacMan has collected before the current snapshot. Also attributes have a type-level declaration a : T, where a is the name of the attribute and T is the data type, and an instance-level occurrence a = v where attribute a is assigned value v. The relation between type and instance level is subject to the usual compatibility conditions, i.e., for each vertex o : C in the instance graph there must a vertex type C in the type graph; for each edge between objects o 1 : C 1 and o 2 : C 2 there must be a corre-

R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 191 G 0 G 1 G:Ghost marbles=3 M:Marble collect G:Ghost :PacMan marbles=4 TG F4:Field typing typing typing Ghost * 1 1 Field * PacMan typing 1 marbles:int * Marble G 2 G:Ghost F4:Field kill F4:Field Fig. 3. From scenarios to rules: graph representation marbles=m :Marble collect(p) marbles=m+1 movepm(p) Fig. 4. Rules for PacMan sponding edge type in the type graph between vertex types C 1 and C 2 ; for each attribute value a = v associated with a vertex o : C in an instance graph, there must be a corresponding declaration a : T in vertex type C such that v is of data type T ; 2.3 Rules and Transformations Having represented snapshots as instance graphs over a type graph built as a representation of the game s concepts, we are turning to the genuine core of the approach: the specification of instance graph transformations by means of rules. Following the idea of extracting rules from transformation scenarios, Fig. 3 shows a graph representation of the behavioural generalisation illustrated in the upper part of Fig. 1. The generalisation is achieved by focussing on the relevant subgraph in the source state and observing its changes in the target state. But besides cutting off context, we also abstract from the concrete attribute values replacing, e.g., 3inG 0 by m and 4 in G 1 by m + 1. The resulting rules are shown in the top of Fig. 4 and 5, with the rules for moving PacMan and Ghost in the bottom. More formally, fixing a type graph TG, a graph transformation rule p :

192 R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 :PacMan kill(g) moveghost(g) Fig. 5. Rules for Ghosts marbles=m m1:marble L p R marbles=m+1 o L f1 F2, f2 F1 p P, m1 M1 o R M1:Marble marbles=3 G H marbles=4 M2:Marble M2:Marble Fig. 6. Transformation step using rule collect L R consists of a name p and a pair of instance graphs over TG whose structure is compatible, i.e., vertices with the same identity in L and R have the same type and attributes, and edges with the same identity have the same type, source, and target. The left-hand side L represents the pre-conditions of the rule while the right-hand side R describes the post-conditions. But rules do also have a constructive meaning, besides being generalisations of transformations. They generate transformations by replacing in a given graph an occurrence of the left-hand side with a copy of the right-hand side. Thus, a graph transformation from a pre-state G to a post-state H, denoted by G = p(o) H, is performed in three steps. (i) Find an occurrence o L of the left-hand side L in the given graph G. (ii) Delete from G all vertices and edges matched by L \ R. (iii) Paste to the result a copy of R \ L, yielding the derived graph H. In Fig. 6 the occurrence o L of the rule s left-hand side is indicated next to the left downward arrow. The variable m representing the value of the marble attribute before the step, is assigned value 3. The transformation deletes the edge from PacMan P to Field F 2, because it is matched by the edge from f1 to p in L, which does not occur in R. The same applies to the value 3 of the marbles attribute of vertex P. To the graph obtained after deletion, we paste a copy of the edge from p to f2 inr. The occurrence o L tells us where this edge must be added, i.e., to the images of p and f2, P and F 1, respectively.

R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 193 a:a a1:a a2:a a1:a a:a b:b? a:a? Fig. 7. More difficult examples At the same time, the new attribute value marbles = 3 + 1 = 4 is computed from the memorised old value m =3. However, this is not the only possibility for applying this rule. Another option would be to map f1 F 2,f2 F 3,p P, m M2, collecting the lower marble instead. Also, we could have chosen to apply the movepm rule. That means, there are two causes of non-determinism: choosing the rule and the occurrence at which it is applied. The total behaviour of our PacMan game is given by the set of all sequences p 1 (o 1 ) of consecutive transformation steps G 0 = pn(on) = G n using the rules of the game and starting from a valid instance graph G 0. As a simple example, we recall the two-step sequence in Fig. 3 which is re-generated by application of the two previously extracted rules. Note that all graphs of a sequence must be valid instances of the fixed type graph TG. The example of Fig. 6 is not entirely representative of the problems that may be caused by deleting elements in a graph during step 2. In fact, we have to make sure that the remaining structure G \ o(l \ R) is still a graph, i.e., that no edges are left dangling because of the deletion of their source or target vertices. The problem is exemplified in its simplest form by the step in Fig. 7 on the left. A related problem is depicted on the right, where we observe a conflict between deleting vertex a : A as required by a1 :A and preserving it as suggested by a2 :A. In both cases, there exist a radical and a conservative solution: The first gives priority to deletion, deleting the vertex along with the dangling edge in the left example and vertex a in the right example of Fig. 7. Both may lead to surprising and undesired effects and may require additional control to restrict rule applications to the intended cases. The safer alternative consists in formulating standard applications conditions which exclude the depicted situations as valid transformations. This is achieved by the gluing conditions of the algebraic (or double-pushout) approach to graph transformation, which provides the basis for the presentation in this text. Next we discuss some extensions to this basic approach.

194 R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 f:field 3 Advanced concepts Fig. 8. A graphical constraint The phenomenon of dangling edges is caused by the fact that a node in a graph may, in general, have an unknown number of connections. This is in contrast with, e.g., the rewriting of strings where the linear structure provides exact information about the connections of any substring. The additional complication has led to a number of extensions of the basic approach, some of which shall be discussed below. 3.1 Constraints One way of solving the problem is to constrain the number of connections. However, type graphs are not expressive enough to define such restrictions. For example, in order to model the PacMan game board it makes sense to require that each Ghost, Pacman, ormarble vertex is linked to exactly one Field vertex. Such constraints need to be expressed by additional cardinality annotations as shown in the type graph of Fig. 2. More complex constraints could deal with the (non-) existence of certain patterns, including paths, cycles, etc. They can be expressed in terms of logic formulae or as graphical constraints. An example for the latter is given in Fig. 8. The constraint expresses by means of a forbidden subgraph that there must not be a Ghost and a PacMan situated at the same Field. In order to satisfy the constraint, a graph G must not contain a subgraph isomorphic to it. In first order logic, the same property could read g : Ghost; p : PacMan; f : F ield. at(g, f) at(p, f). Constraints restrict the set of admissible instance graphs and can be used to control the transformation process by ruling out transformations leading to non-admissible graphs. This is comparable to the integrity mechanism in a data base management system which checks the validity of constraints after each update, but before the new state is committed. 3.2 Multi-objects Also more complex operations, like delete all Ghosts located on Fields directly reachable from PacMan s current position, can only be specified in

R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 195 superpm o L ={f1 F2, p P, f2 {F1, F3}, g {G1, G2} } G1:Ghost marbles=3 marbles=3 G2:Ghost G3:Ghost G3:Ghost Fig. 9. Rule application with multi object the presented approach if the number of reachable fields is known in advance. This is not the case in our example. Thus, for expressing such universally quantified operations, we have to adopt the additional concept of multi object from UML object diagrams. A multi object like f2 in the rule of Fig. 9 stands for the maximal set of objects that have the specified connections to the fixed objects in the rule, in our case all the neighbouring fields of the match F 2off1. Similarly, g : Ghost stands for all ghosts in G located at these fields. The example shows that the universal quantification extends smoothly to the actions of the rule, i.e., the deletion of the ghosts. 3.3 Application conditions Generalizing the pre-defined gluing conditions of the algebraic approach, user defined application conditions are used, for example, to sense the existence or non-existence of connections in the vicinity of the occurrence of the rule s left hand side. Figure 10 shows an improved rule movepm checking that there is no marble in the place PacMan is moving to. Graphically, this is indicated by the crossed out vertex in the left-hand side. Intuitively, the rule is applicable at an occurrence if this cannot be extended to the forbidden elements. That means, the applicability does not only depend on the graph G, but also on the chosen occurrence, as indicated in the figure. 3.4 Control conditions Beside extensions that restrict the applicability of individual rules, global control structures lead to programmed graph transformations. Here, rules embedded them into imperative programming constructs or a visual control flow language, as shown in Fig. 11 where UML activity diagrams are used to ex-

196 R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 :Marble movepm o L M1:Marble marbles=3 o L ={f1 F2, f2 F1, p P} violates application condition o L ={f1 F2, f2 F3, p P} satisfies application condition Fig. 10. Rule application with negative application condition Behavior() : Behavior() : [failure] collect(p) movepm(p) kill(p) [failure] moveghost(g) [success] [success] Fig. 11. Controlling rules by activity diagrams press, respectively, the order of rule applications to individual PacMan and Ghost vertices. Special conditions [failure] and [success] are introduced to make the control flow dependent of the (non-)applicability of rules. Another notable feature is the possibility of passing parameters to rules. In our example it is intended that, e.g., the order of collect and movepm operations is understood locally for any individual PacMan vertex. 4 Further Reading Fundamental approaches to graph transformation [12] include the algebraic or double-pushout (DPO) approach [6], the node-label controlled (NLC) [9] approach, and the Progres approach [13] which represents the first major application of graph transformation to software engineering [7]. The simple core model introduced in Section 2 is based on (a set-theoretic presentation of) the double-pushout approach [6]) whose features are common to most graph transformation approaches. Generally, we distinguish two fundamentally different views of graph transformation referred to as the gluing and the connecting approach. They differ for the mechanism used to embed the righthand side of the rule in the context (the structure left over from the given graph after deletion): In a gluing approach like DPO, the new graph is formed by gluing the right-hand side with the context along common vertices. In a connecting approach like NLC, the embedding is realised by a disjoint

R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 197 union, with as many new edges as needed to connect the right-hand side with the rest of the graph. This feature, which provides one possible answer to a fundamental problem, the replacement of substructures in an unknown context, is known in software engineering-oriented approaches by the name of set nodes or multi objects, e.g., Progres [13,14], a language and tool for PROgrammed Graph REwriting Systems, and Fujaba [1], an environment for round trip engineering between UML diagrams and Java based on graph transformation as computational model. Both approaches have extended the basic approach by programmed transformations, concerned with controlling the (otherwise non-deterministic) rewrite process, as well as application conditions, restricting the applicability of individual rules, as well as structural constraints over graphs, comparable to invariants or integrity constraints in data bases, deal with the (non-) existence of certain patterns, including paths, cycles, etc. They are expressed as cardinalities, in terms of first- or higher-order logic, or as graphical constraints. The latter are also supported by AGG [8], which implements the algebraic approach by means of a rule interpreter and associated analysis techniques. For recent surveys on graph transformations and its applications see the handbooks [12,4,5] the survey paper [2] and the tutorial paper [3]. References [1] From UML to Java and Back Again: The Fujaba homepage, www.upb.de/cs/isileit. [2] Andries, M., G. Engels, A. Habel, B. Hoffmann, H.-J. Kreowski, S. Kuske, D. Plump, A. Schürr and G. Taentzer, Graph transformation for specification and programming, Science of Computer Programming 34 (1999), pp. 1 54. URL http://www.elsevier.com/cas/tree/store/scico/sub/1999/34/1/559.pdf [3] Baresi, L. and R. Heckel, Tutorial introduction to graph transformation: A software engineering perspective, in: A. Corradini, H. Ehrig, H.-J. Kreowski and G. Rozenberg, editors, Proc. of the First International Conference on Graph Transformation (ICGT 2002), Barcellona, Spain, LNCS 2505 (2002), pp. 402 429. URL http://www.elet.polimi.it/upload/baresi/pub/papers/icgt.pdf [4] Ehrig, H., G. Engels, H.-J. Kreowski and G. Rozenberg, editors, Handbook of Graph Grammars and Computing by Graph Transformation, Volume 2: Applications, Languages, and Tools, World Scientific, 1999. [5] Ehrig, H., H.-J. Kreowski, U. Montanari and G. Rozenberg, editors, Handbook of Graph Grammars and Computing by Graph Transformation, Volume 3: Concurrency and Distribution, World Scientific, 1999. [6] Ehrig, H., M. Pfender and H. Schneider, Graph grammars: an algebraic approach, in:14th Annual IEEE Symposium on Switching and Automata Theory (1973), pp. 167 180. [7] Engels, G., R. Gall, M. Nagl and W. Schäfer, Software specification using graph grammars, Computing 31 (1983), pp. 317 346.

198 R. Heckel / Electronic Notes in Theoretical Computer Science 148 (2006) 187 198 [8] Ermel, C., M. Rudolf and G. Taentzer, The AGG approach: Language and tool environment, in: Engels et al. [4] pp. 551 601. [9] Janssens, D. and G. Rozenberg, On the structure of node-label controlled graph grammars, Information Science 20 (1980), pp. 191 216. [10] Pfaltz, J. L. and A. Rosenfeld, Web grammars, Int. Joint Conference on Artificial Intelligence (1969), pp. 609 619. [11] Pratt, T. W., Pair grammars, graph languages and string-to-graph translations, Journal of Computer and System Sciences 5 (1971), pp. 560 595. [12] Rozenberg, G., editor, Handbook of Graph Grammars and Computing by Graph Transformation, Volume 1: Foundations, World Scientific, 1997. [13] Schürr, A., Programmed graph replacement systems, in: Rozenberg [12] pp. 479 546. [14] Schürr, A., A. Winter and A. Zündorf, The PROGRES approach: Language and environment, in: Engels et al. [4] pp. 487 550.