Title :
Placement of Entities in Object-Oriented Systems by Means of a Single-Objective Genetic Algorithm
Author :
Basdavanos, Margaritis ; Chatzigeorgiou, Alexander
Author_Institution :
Sch. of Sci. & Technol., Hellenic Open Univ., Patras, Greece
Abstract :
Behavior and state allocation in object-oriented systems is a rather non-trivial task that is hard to master and automate since it is guided by conceptual criteria and therefore relies on human expertise. Since attributes and methods can be placed in the classes of a system in uncountable different ways, the task can be regarded as a search space exploration problem. In this paper we present our experience from treating this issue by a genetic algorithm, which in contrast to previous approaches, is aiming at single-objective optimization. The fitness function is based on a novel metric which ensures that optimization improves both coupling and cohesion. The approach has been implemented as an Eclipse plugin allowing the effortless experimentation on any system. The evaluation results indicate that the problem is suitable for single-objective genetic algorithms and that an optimal or near-optimal solution can be obtained within reasonable time.
Keywords :
genetic algorithms; object-oriented programming; Eclipse plugin; fitness function; object-oriented system; search space exploration; single-objective genetic algorithm; single-objective optimization; state allocation; Biological cells; Couplings; Gallium; Measurement; Optimization; Resource management; Software; cohesion; coupling; genetic algorithm; object-oriented design;
Conference_Titel :
Software Engineering Advances (ICSEA), 2010 Fifth International Conference on
Conference_Location :
Nice
Print_ISBN :
978-1-4244-7788-3
Electronic_ISBN :
978-0-7695-4144-0
DOI :
10.1109/ICSEA.2010.18