Abstract
Compared with state diagram, activity diagram can be used to display the concurrent behavior of program in a more natural and intuitive way. Six primitives of initial, fork, join, flow final, activity final and activity were selected as the basis for graphical modeling and automatic code generation. A XML document format was defined to describe the activity diagram, then the XML document was parsed based on DOM, after that original activity diagram was split into separate activity sub-diagrams; and then each activity diagram was parsed into a number of processes and semaphores and codes. The methods and algorithms proposed were tested by designing and implementing a software system and good results were achieved, it showed that the methods and algorithms were right and effective.
| Original language | English |
|---|---|
| Pages (from-to) | 85-90 |
| Number of pages | 6 |
| Journal | Harbin Gongye Daxue Xuebao/Journal of Harbin Institute of Technology |
| Volume | 44 |
| Issue number | 9 |
| State | Published - Sep 2012 |
| Externally published | Yes |
Keywords
- Activity diagram
- Automatic code generation
- Concurrency semantic
Fingerprint
Dive into the research topics of 'Design of automatic code generation algorithm based on concurrency semantics of activity diagrams'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver