A LINEAR ALGORITHM TO DECOMPOSE INHERITANCE GRAPHS INTO MODULES

Citation
M. Habib et al., A LINEAR ALGORITHM TO DECOMPOSE INHERITANCE GRAPHS INTO MODULES, Algorithmica, 13(6), 1995, pp. 573-591
Citations number
20
Categorie Soggetti
Computer Sciences",Mathematics,Mathematics,"Computer Science Software Graphycs Programming
Journal title
ISSN journal
01784617
Volume
13
Issue
6
Year of publication
1995
Pages
573 - 591
Database
ISI
SICI code
0178-4617(1995)13:6<573:ALATDI>2.0.ZU;2-6
Abstract
Inheritance graphs of object-oriented languages can be decomposed into independent subgraphs, or modules, which are inheritance graphs thems elves. This paper is devoted to the study of efficient algorithms of d ecomposition into modules similar to substitution decomposition algori thms. For 2-connected inheritance graphs we search for maximal modules (under inclusion), whereas we show that the significant modules of no n-2-connected graphs are the biconnected components. For the 2-connect ed case, a method based upon a property of greedy linear extensions is proposed. However, in both cases a linear-time complexity algorithm i s provided to decompose into modules. Furthermore, the algorithm can b e inserted into the inheritance mechanism (such as in CLOS [14]).