Abstract
We present an approach for programming with graph transformation rules
in which programs can be as efficient as programs in imperative languages. The basic idea is to equip rules and host graphs with distinguished nodes, so-called roots, and to match roots in rules with roots in host graphs. This enables graph transformation rules to be matched in constant time, provided that host graphs have a bounded node degree (which in practice is often the case). Hence, for example, programs with a linear bound on the number of rule applications run in truly linear time. We demonstrate the feasibility of this approach with a case study in graph colouring.
in which programs can be as efficient as programs in imperative languages. The basic idea is to equip rules and host graphs with distinguished nodes, so-called roots, and to match roots in rules with roots in host graphs. This enables graph transformation rules to be matched in constant time, provided that host graphs have a bounded node degree (which in practice is often the case). Hence, for example, programs with a linear bound on the number of rule applications run in truly linear time. We demonstrate the feasibility of this approach with a case study in graph colouring.
Original language | English |
---|---|
Title of host publication | Proceedings 7th International Workshop on Graph Based Tools (GraBaTs 2012) |
Editors | Christian Krause, Bernhard Westfechtel |
Place of Publication | Berlin |
Number of pages | 12 |
DOIs | |
Publication status | Published - 2012 |
Event | 7th International Workshop on Graph Based Tools (GraBaTs 2012) - Bremen, Germany Duration: 24 Sept 2012 → … |
Publication series
Name | Electronic Communications of the EASST |
---|---|
Publisher | Technische Universität Berlin |
Volume | 54 |
Workshop
Workshop | 7th International Workshop on Graph Based Tools (GraBaTs 2012) |
---|---|
Country/Territory | Germany |
City | Bremen |
Period | 24/09/12 → … |
Keywords
- Graph programs
- rooted graphs
- time complexity
- constant-time graph matching
- graph colouring