Improving UML Class Attribute Definitions Using Particle Swarm Optimization

Authors

  • Renu George
  • Philip Samuel

Keywords:

class diagram, activity diagram, class attribute, consistency, particle swarm optimization

Abstract

Unified Modeling Language has become the de-facto industry standard for object-oriented modeling of the static and dynamic aspects of software systems. Class diagrams represent the static aspects of the system, the classes required for implementation of the system, the relationships between classes and the attributes and methods of each class. Attributes describe the data contained in an object of a class and its properties such as name, data type, visibility etc. Methods define the ways in which objects interact. Activity diagram represents the dynamic behavior of the system. The implementation of methods in a class is depicted using activity diagram. To ensure software quality, it is essential to maintain consistency between diagrams of the same model. Class diagrams can be mapped directly to an object oriented programming language and inconsistency in attribute definitions may be reflected directly in the generated code. Complex systems require large number of diagrams and hence detection of inconsistencies in class attribute definitions has a significant role during the design phase of software development. In this paper we describe a method for improving the class attribute definitions using particle swarm optimization technique. Particle Swarm Optimization (PSO) is a soft computing technique that provides solutions to optimization problems by maximizing certain objectives in a complex search space. The PSO algorithm is applied to detect inconsistency in attribute definitions and to optimize the fitness value of the attributes. The application of PSO algorithm improves the attribute definitions and provides consistent, optimized diagrams that result in the generation of more accurate code.

Downloads

Download data is not yet available.

Downloads

Published

2016-07-01

How to Cite

Renu George, & Philip Samuel. (2016). Improving UML Class Attribute Definitions Using Particle Swarm Optimization. Journal of Network and Innovative Computing, 4, 8. Retrieved from https://cspub-jnic.org/index.php/jnic/article/view/120

Issue

Section

Original Article