Skip to main content
QUICK REVIEW

[Paper Review] A Genetic Algorithm for Software Design Migration from Structured to Object Oriented Paradigm.

Md. Selim, Saeed Siddik|arXiv (Cornell University)|Jul 23, 2014
Software Engineering ResearchComputer Science14 references3 citations
TL;DR

This paper proposes a Genetic Algorithm (GA) to automate the migration of software design from structured to object-oriented paradigms by solving an optimal graph clustering problem. The GA maximizes intra-cluster edges and minimizes inter-cluster edges through fitness-based parent selection and cluster element crossover, achieving a 40% and 49.5% improvement over greedy and Monte Carlo methods, respectively.

ABSTRACT

The potential benefit of migrating software design from Structured to Object Oriented Paradigm is manifolded including modularity, manageability and extendability. This design migration should be automated as it will reduce the time required in manual process. Our previous work has addressed this issue in terms of optimal graph clustering problem formulated by a quadratic Integer Program (IP). However, it has been realized that solution to the IP is computationally hard and thus heuristic based methods are required to get a near optimal solution. This paper presents a Genetic Algorithm (GA) for optimal clustering with an objective of maximizing intra-cluster edges whereas minimizing the inter-cluster ones. The proposed algorithm relies on fitness based parent selection and cross-overing cluster elements to reach an optimal solution step by step. The scheme was implemented and tested against a set of real and synthetic data. The experimental results show that GA outperforms our previous works based on Greedy and Monte Carlo approaches by 40% and 49.5%.

Motivation & Objective

  • To automate the time-consuming manual process of migrating software design from structured to object-oriented paradigms.
  • To address the computational hardness of solving the optimal graph clustering problem via quadratic integer programming.
  • To develop a heuristic-based solution that achieves near-optimal clustering for improved modularity, manageability, and extensibility.
  • To outperform existing greedy and Monte Carlo approaches in clustering quality and efficiency.

Proposed method

  • Formulate the design migration problem as an optimal graph clustering task to maximize intra-cluster edges and minimize inter-cluster edges.
  • Apply a Genetic Algorithm (GA) with fitness-based parent selection to evolve promising cluster configurations.
  • Use crossover operations that exchange cluster elements between parent solutions to generate new offspring solutions.
  • Represent solutions as chromosome-like structures encoding cluster assignments for software components.
  • Iteratively evolve the population over generations using selection, crossover, and mutation to converge toward optimal clustering.
  • Test the GA on both real and synthetic software design graphs to validate performance.

Experimental results

Research questions

  • RQ1Can a genetic algorithm effectively solve the optimal graph clustering problem in software design migration from structured to object-oriented paradigms?
  • RQ2How does the performance of the proposed GA compare to greedy and Monte Carlo-based heuristic approaches in terms of clustering quality?
  • RQ3To what extent does the GA improve intra-cluster cohesion and inter-cluster separation in software design graphs?

Key findings

  • The proposed Genetic Algorithm outperformed the previous greedy approach by 40% in clustering quality.
  • The GA achieved a 49.5% improvement over the Monte Carlo-based method in terms of solution effectiveness.
  • The algorithm demonstrated consistent performance gains across both real and synthetic software design datasets.
  • Fitness-based selection and cluster element crossover significantly enhanced convergence toward optimal solutions.
  • The solution quality was measured by maximizing intra-cluster edges and minimizing inter-cluster edges, with the GA achieving superior results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.