SinelaboreRT Header Logo

SinelaboreRT

As simple as possible, but not any simpler!

User Tools

Site Tools


wiki:news:20july2014

This is an old revision of the document!


New version 3.6.5

This new version provides two important optimisations which results in better readability of the generated code and the activity diagram itself.

a) Actions in an activity diagram can contain spaces e.g. “check hardware” is translated into “CHECK_HARDWARE”. This increases the readability of the activity diagram.

b) Combining multiple actions into one action. If successive actions only have one incoming edge they can be combined into one actions. This increases performance and readability of the generated code.

The following activity diagram shows some examples where actions can be combined. This is the unnamed action and Action10 in the sub-activity Activity1. As well as Action2 with Action 3 with spaces and Action5 to Action9. The generated code for the latter looks as follows. The new action has a generated name but the comment clearly indicates which actions were the basis for the new action.

/* Merged from nodes:   Action5 Action8 Action9 */
case TEST_OPERATION_326F4FB4_71A5_42F3_94F5_BF4E5D5BA1EE:
   printf("action 5\n");
   printf("Effekt Action 8\n");
   printf("Action 9\n");
   id=TEST_OPERATION_ACTIVITYFINAL;
   break;

Feedback is as always welcome! Have fun!

Peter Mueller

{(rater>id=20072014|name=How do you like this article?|type=rate)}

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
wiki/news/20july2014.1405848441.txt.gz · Last modified: 2014/07/20 11:27 by pmueller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki