On automatic class insertion with overloading - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue ACM SIGPLAN Notices Année : 1996

On automatic class insertion with overloading

Résumé

Several algorithms [Cas92, MS89, Run92, DDHL94a, DDHL95, GMM95] have been proposed to automatically insert a class into an inheritance hierarchy. But actual hierarchies all include overriden and overloaded properties that these algorithms handle either very partially or not at all. Partially handled means handled provided there is a separate given function f able to compare overloaded properties [DDHL95, GMM95].In this paper, we describe a new version of our algorithm (named Ares) which handles automatic class insertion more efficiently using such a function f. Although impossible to fully define, this function can be computed for a number of well defined cases of overloading and overriding. We give a classification of such cases and describe the computation process for a well-defined set of nontrivial cases.The algorithm preserves these important properties:- preservation of the maximal factorization of properties- preservation of the underlying structure (Galois lattice) of the input hierarchy- conservation of relevant classes of the input hierarchy with their properties.
Fichier principal
Vignette du fichier
download.pdf (359.06 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02266668 , version 1 (20-08-2019)

Identifiants

Citer

Hervé Dicky, Christophe Dony, Marianne Huchard, Thérèse Libourel Rouge. On automatic class insertion with overloading. ACM SIGPLAN Notices, 1996, 31 (10), pp.251-267. ⟨10.1145/236338.236364⟩. ⟨hal-02266668⟩
51 Consultations
107 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More