doi: 10.7763/IJMO.2012.V2.131
A New Approach to Object Oriented Software Simulation Based on UML Statechart and Colored Petri Net
Abstract
Complexities of object-oriented software such as inheritance and polymorphism make behavior analysis significantly difficult, because the states of the objects may cause faults that cannot be easily revealed with traditional techniques. In this paper, we propose a new approach to object oriented software simulation by mapping the specification written in UML to Colored Petri Net (CPN). By introducing an algorithm to convert UML statechart to CPN, The model can be built in an early phase of the software development process, thus creating the potential for early analysis. Our proposed method considers net-explosion problem and the generated Net covers all instances of objects from different classes in the same hierarchy. A case study is presented to show the benefit of our approach and resulting Net is implemented in CPN-Tools.
Keywords
- CPN
- class hierarchy
- object token
- object-oriented
- statechart
How to Cite
E. Mirzaeian, M. Babazadeh, S. Ghaderi Mojaveri, and H. Motameni, "A New Approach to Object Oriented Software Simulation Based on UML Statechart and Colored Petri Net," International Journal of Modeling and Optimization, vol. 2, no. 3, pp. 299-303, 2012. https://doi.org/ 10.7763/IJMO.2012.V2.131
Copyright & License
Copyright © 2012 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).




