Abstract
The tree width of a graph G measures how close G is to being a tree or a series-parallel graph. Many well-known problems that are otherwise NP-complete can be solved efficiently if the underlying graph structure is restricted to one of fixed tree width. In this paper we prove that the tree width of goto-free Ada programs without labeled loops is ≤ 6. In addition we show that both the use of gotos and the use of labeled loops can result in unbounded tree widths of Ada programs. The latter result suggested to study the tree width of actual Ada programs. We implemented a tool capable of calculating tight upper bounds of the tree width of a given Ada program efficiently. The results show that most existing Ada code has small tree width and thus allows efficient automatic static analysis for many well-known problems and – as a by-product – most Ada programs are very close to series-parallel programs.
Original language | English |
---|---|
Title of host publication | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
Editors | Alfred Strohmeier, Albert Llamosi |
Publisher | Springer Verlag |
Pages | 78-90 |
Number of pages | 13 |
ISBN (Print) | 3540220119 |
DOIs | |
Publication status | Published - 2004 |
Event | 9th Ada-Europe International Conference on Reliable Software Technologies, Ada-Europe 2004 - Palma de Mallorca, Spain Duration: 2004 Jun 14 → 2004 Jun 18 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 3063 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Other
Other | 9th Ada-Europe International Conference on Reliable Software Technologies, Ada-Europe 2004 |
---|---|
Country/Territory | Spain |
City | Palma de Mallorca |
Period | 04/6/14 → 04/6/18 |
Bibliographical note
Publisher Copyright:© Springer-Verlag Berlin Heidelberg 2004.
All Science Journal Classification (ASJC) codes
- Theoretical Computer Science
- Computer Science(all)