Evaluating and Optimizing Factorization in Inheritance Hierarchies
نویسندگان
چکیده
Inheritance hierarchies often constitute the backbone of object-oriented systems. Their quality is therefore quite crucial. We present here our work the objective of which is to help designers to improve and to measure the quality of their inheritance hierarchies. The quality we deal with is the degree of factorization of information. Our work is based on the mathematical structure of Galois (concept) lattice which ensures, when applied to inheritance hierarchies, a maximal factorization of properties (methods and attributes) along with a minimal number of classes. Furthermore, the links between Galois lattice concepts have a direct correspondence with the inclusion relationships of class property sets in inheritance hierarchies.?
منابع مشابه
A Survey on Reverse Inheritance Class Relationship
The reverse inheritance class relationship viewed as the symmetrical of the inheritance class relationship has great potential in class hierarchy reorganization. Classes from different hierarchies can be reorganized getting a new common superclass, factoring common features, thus avoiding data and code duplication.
متن کاملBlock Decomposition of Inheritance Hierarchies
Inheritance hierarchies play a central role in object oriented languages as in knowledge representation systems. These hierarchies are acyclic directed graphs representing the underline structure of objects. This paper is devoted to the study of eecient algorithms to decompose recursively an inheritance hierarchy into independent subgraphs which are inheritance hierarchies themselves. This proc...
متن کاملFactoring Mechanism of Reverse Inheritance
In this paper we present a new approach for facilitating the maintenance, reengineering and adaptation of class libraries designed using objectoriented technology. The technique uses a new class relationship called reverse inheritance. We strive to prove that using this class relationship with it’s factoring supporting mechanism it is possible to factor features from a hierarchy, to add new fea...
متن کاملEfficient approach for restructuring multiple inheritance hierarchies
This paper discusses the restructuring of inheritance hierarchies of classes and introduces a method of restructuring multiple hierarchies of class inheritance, which removes duplicated methods and creates inheritance hierarchies without overridden methods while preserving the behavior of objects. This paper formulates a restructuring problem for 0–1 integer programming and presents a network-b...
متن کاملEvaluating the role of company life cycle in optimizing the conservative model of ball and Shivakumar (2005)
The main purpose of this study is to evaluate the role of corporate life cycle in optimizing conservatism measurement based on the conditional conservatism model of Ball and Shivakumar (2005). The present study is an analytical-correlational study and the statistical population of the study consists of all companies listed on the Tehran Stock Exchange during the years 1387 to 1396 which include...
متن کامل