Title :
Software modularization using the modified firefly algorithm
Author :
Mamaghani, Ali Safari ; Hajizadeh, Meysam
Author_Institution :
Dept. of Comput. Eng., Islamic Azad Univ., Bonab, Iran
Abstract :
Software modularization is a significant way to increase the maintenance of software systems. Designers depict the structure of software systems as a directed graph referred to as Module Dependency Graph in which nodes correspond to the software modules (such as files and classes) and edges relate to their relations (like function calls and inheritance relationship); These graphs can be partitioned into the meaningful clusters to be more accessible. Since Graph Partitioning is considered as a NP problem, here the application of exhaustive search algorithms are not so cost-effective that even for very small graphs they are not applicable. Therefore, many random approaches have been proposed for solving the problem. In this paper, a Firefly based method is presented to partition the software systems. However, some adjustments are needed to be made for using the FA for the problem. These modifications are as follows: change of the definition of fireflies, how to move fireflies toward better positions, and the alteration of fireflies´ distance definition. Experimental results reveal that in most of the cases the proposed approach has a remarkable superiority over both the Genetic and the Learning Automaton algorithms in solving the problem.
Keywords :
directed graphs; search problems; software maintenance; NP problem; directed graph; exhaustive search algorithm; firefly algorithm; graph partitioning; module dependency graph; software modularization; software system maintenance; Algorithm design and analysis; Approximation algorithms; Clustering algorithms; Couplings; Software algorithms; Software systems; ICT; NP-Complete Problem; Software Clustering; e-learning; higher education; search for information; the Firefly Algorithm; the MDG Graph;
Conference_Titel :
Software Engineering Conference (MySEC), 2014 8th Malaysian
Conference_Location :
Langkawi
DOI :
10.1109/MySec.2014.6986037