Skip to main navigation Skip to search Skip to main content

Design of automatic code generation algorithm based on concurrency semantics of activity diagrams

  • School of Computer Science and Technology, Harbin Institute of Technology

Research output: Contribution to journalArticlepeer-review

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 languageEnglish
Pages (from-to)85-90
Number of pages6
JournalHarbin Gongye Daxue Xuebao/Journal of Harbin Institute of Technology
Volume44
Issue number9
StatePublished - Sep 2012
Externally publishedYes

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