Moving to smaller libraries via clustering and genetic algorithms

被引:11
作者
Antoniol, G [1 ]
Di Penta, M [1 ]
Neteler, M [1 ]
机构
[1] Univ Sannio, RCOST, Dept Engn, I-82100 Benevento, Italy
来源
SEVENTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS | 2003年
关键词
library re-factoring; clustering; genetic algorithms;
D O I
10.1109/CSMR.2003.1192439
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
There may be several reasons to reduce a software system to its bare bone removing the extra fat introduced during development or evolution. Porting the software system on embedded devices or palmtops are just two examples. This paper presents an approach to re-factoring libraries with the aim of reducing the memory requirements of executables. The approach is organized in two steps. The first step defines an initial solution based on clustering methods, while the subsequent phase refines the initial solution via genetic algorithms. In particular a novel genetic algorithm approach, considering the initial clusters as the starting population, adopting a knowledge-based mutation function and a multi-objective fitness function, is proposed. The approach has been applied to several medium and large-size open source software systems such as GRASS, KDE-QT Samba and MySQL, allowing to effectively produce smaller loosely coupled libraries, and to reduce the memory requirement for each application.
引用
收藏
页码:307 / 316
页数:10
相关论文
共 30 条
[1]  
Anderberg M.R., 1973, Probability and Mathematical Statistics
[2]  
[Anonymous], 1989, GENETIC ALGORITHM SE
[3]  
[Anonymous], 1979, Computers and Intractablity: A Guide to the Theoryof NP-Completeness
[4]  
[Anonymous], INT C EV COMP
[5]   Extracting concepts from file names; a new file clustering criterion [J].
Anquetil, N ;
Lethbridge, T .
PROCEEDINGS OF THE 1998 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1998, :84-93
[6]   A method to re-organize legacy systems via concept analysis [J].
Antoniol, G ;
Casazza, G ;
Di Penta, M ;
Merlo, E .
9TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2001, :281-290
[7]  
Bui TN, 1996, IEEE T COMPUT, V45, P841, DOI 10.1109/12.508322
[8]   Multi-objective Genetic Algorithms: Problem Difficulties and Construction of Test Problems [J].
Deb, Kalyanmoy .
EVOLUTIONARY COMPUTATION, 1999, 7 (03) :205-230
[9]  
DIPENTA M, 2002, IN PRESS P IEEE WORK
[10]  
Doval D., 1999, STEP '99. Proceedings Ninth International Workshop Software Technology and Engineering Practice, P73, DOI 10.1109/STEP.1999.798481