Sciweavers

GG
2004
Springer

Towards Graph Programs for Graph Algorithms

14 years 4 months ago
Towards Graph Programs for Graph Algorithms
Abstract. Graph programs as introduced by Habel and Plump [8] provide a simple yet computationally complete language for computing functions and relations on graphs. We extend this language such that numerical computations on labels can be conveniently expressed. Rather than resorting to some kind of attributed graph transformation, we introduce conditional rule schemata which are instantiated to (conditional) doublepushout rules over ordinary graphs. A guiding principle in our language extension is syntactic and semantic simplicity. As a case study for the use of extended graph programs, we present and analyse two versions of Dijkstra’s shortest path algorithm. The first program consists of just three rule schemata and is easily proved to be correct but can be exponential in the number of rule applications. The second program is a refinement of the first which is essentially deterministic and uses at most a quadratic number of rule applications.
Detlef Plump, Sandra Steinert
Added 01 Jul 2010
Updated 01 Jul 2010
Type Conference
Year 2004
Where GG
Authors Detlef Plump, Sandra Steinert
Comments (0)