Invention Grant
- Patent Title: Converting an activity diagram into code
- Patent Title (中): 将活动图转换为代码
-
Application No.: US12606356Application Date: 2009-10-27
-
Publication No.: US08495560B2Publication Date: 2013-07-23
- Inventor: Nicolas Dangeville , Yucel Guclu
- Applicant: Nicolas Dangeville , Yucel Guclu
- Applicant Address: US NY Armonky
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonky
- Agency: Patents on Demand P.A.
- Agent Brian K. Buchheit; Scott M. Garrett
- Priority: EP09305965 20091012
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F3/00

Abstract:
An activity diagram can be converted into code, by traversing the activity diagram to identify the cycles in the activity diagram. Each identified cycle can be stored in a list of cycles. Intermixed cycles among the list of cycles can be resolved. When resolving, the identified cycles can be compared one to another to determine if they have common nodes. If so one of the cycles can be removed from the list of cycles. The other cycle can be labeled as a GOTO loop. The activity diagram can be traversed. For each traversed node, code statements can be generated based on the node type and the labels associated with the node.
Public/Granted literature
- US20110088010A1 CONVERTING AN ACTIVITY DIAGRAM INTO CODE Public/Granted day:2011-04-14
Information query