Using the Y.X.Zengs thesis
and Professor Amyots suggestions, we gathered the following requirements for this part of the project:
The following two implicit CSM elements have to be considered:
- Resource Acquire - CSM element which is inserted at the intersection of an incoming path with the parent component of a Step or series of Steps .
- Resource Release - CSM element which is inserted at the intersection of an outgoing path with the parent component of a Step or series of Steps .
Each of the above elements must be inserted according to a specific insertion algorithm:
- - The Resource Acquisition algorithm inserts a Resource Acquire (RA) element by scanning either the original UCM or a duplicate UCM, looking for incoming paths intersecting with components. When such an intersection is detected, a Resource Acquisition element is inserted along with a dummy sequence.
- - The Resource Release algorithm inserts a Resource Release (RR) element by scanning either the original UCM or a duplicate UCM, looking for outgoing paths intersecting with components. When such an intersection is detected, a dummy sequence is inserted, followed by a Resource Release element.
Each new dummy sequence must be assigned an id. The way in which this id is assigned is left at the discretion of the programmer/designer.
The dummy sequence should also have a standard name as well as a link to the predecessor and successor elements .
Each new RA or RR element must also be assigned an id, by following a similar naming convention as for dummy sequences. Links to
predecessor/successor nodes must also be established. Depending on the element type, it should also display the id of the component it acquires
or releases .
The insertion algorithms can be implemented using the original UCM or a copy of it. This is left at the discretion of the programmer/designer .
CSM does not allow two consecutive step elements or two consecutive path connection elements .
Similarly to a dummy sequence, a dummy responsibility must be assigned an id, a name and a link to the target/source elements .
The CSM output should not contain two consecutive sequences. All additional sequences should be removed .
- 14 Apr 2006