Skip to main navigation Skip to search Skip to main content

A fast graph program for computing minimum spanning trees

Brian Courtehoute, Detlef Plump

Research output: Contribution to journalConference articlepeer-review

Abstract

When using graph transformation rules to implement graph algorithms, a challenge is to match the efficiency of programs in conventional languages. To help overcome that challenge, the graph programming language GP 2 features rooted rules which, under mild conditions, can match in constant time on bounded degree graphs. In this paper, we present an efficient GP 2 program for computing minimum spanning trees. We provide empirical performance results as evidence for the program’s subquadratic complexity on bounded degree graphs. This is achieved using depth-first search as well as rooted graph transformation. The program is based on Boruvka’s algorithm for minimum spanning trees. Our performance results show that the program’s time complexity is consistent with that of classical implementations of Boruvka’s algorithm, namely O(m log n), where m is the number of edges and n the number of nodes.

Original languageEnglish
Pages (from-to)163-180
Number of pages18
JournalElectronic Proceedings in Theoretical Computer Science, EPTCS
Volume330
DOIs
Publication statusPublished - 3 Dec 2020
Externally publishedYes
Event11th International Workshop on Graph Computation Models - Virtual
Duration: 24 Jun 202024 Jun 2020
https://sites.google.com/view/gcm2020/

Fingerprint

Dive into the research topics of 'A fast graph program for computing minimum spanning trees'. Together they form a unique fingerprint.

Cite this