Activities per year
Abstract
GP 2 is an experimental programming language based on graph transformation rules which aims to facilitate program analysis and verification. However, implementing graph algorithms efficiently in a rule-based language is challenging because graph pattern matching is expensive. GP 2 mitigates this problem by providing rooted rules which, under mild conditions, can be matched in constant time. In this paper, we present linear-time GP 2 programs for three problems: tree recognition, binary directed acyclic graph (DAG) recognition, and topological sorting. In each case, we show the correctness of the program, prove its linear time complexity, and also give empirical evidence for the linear run time. For DAG recognition and topological sorting, the linear behaviour is achieved by implementing depth-first search strategies based on an encoding of stacks in graphs.
| Original language | English |
|---|---|
| Title of host publication | 8th Conference on Algebra and Coalgebra in Computer Science, CALCO 2019 |
| Editors | Markus Roggenbach, Ana Sokolova |
| Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
| Number of pages | 23 |
| ISBN (Electronic) | 9783959771207 |
| DOIs | |
| Publication status | Published - 25 Nov 2019 |
| Externally published | Yes |
| Event | 8th Conference on Algebra and Coalgebra in Computer Science - London, United Kingdom Duration: 3 Jun 2019 → 6 Jun 2019 Conference number: 8 https://drops.dagstuhl.de/entities/volume/LIPIcs-volume-139 |
Publication series
| Name | Leibniz International Proceedings in Informatics, LIPIcs |
|---|---|
| Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
| Volume | 139 |
| ISSN (Print) | 1868-8969 |
Conference
| Conference | 8th Conference on Algebra and Coalgebra in Computer Science |
|---|---|
| Abbreviated title | CALCO 2019 |
| Country/Territory | United Kingdom |
| City | London |
| Period | 3/06/19 → 6/06/19 |
| Internet address |
Fingerprint
Dive into the research topics of 'Linear-time graph algorithms in GP 2'. Together they form a unique fingerprint.Activities
- 1 Oral presentation
-
Linear-Time Graph Algorithms in GP 2
Campbell, G. (Speaker), Courtehoute, B. (Contributor to Paper or Presentation) & Plump, D. (Contributor to Paper or Presentation)
4 Jun 2019Activity: Talk or presentation types › Oral presentation