Difference between revisions of "Modeler:Tutorial/Constraints"

From CaseTalk Wiki
Jump to: navigation, search
(Created page with "In this lesson you will learn how to add constraints to the information grammar using the Diagram Designer. The constraints you are adding will not be applied to the populat...")
 
Line 4: Line 4:


= Adding unicity constraints =
= Adding unicity constraints =
'''Step 16'''
1. Open the Diagram.
2. Click on 'Student' in the Diagram Designer, then select the menu 'Diagram\Constraint\UC'.
[[File:Igdconstraintmenu.GIF]]
3. Repeat step 2 to add the unicity constraint to 'Apprenticeship'.
4. Hold the Ctrl-key and select role 3.
''Note: You may select multiple roles also using the multiple role button from the diagram toolbar.''
[[File:Multiroleselect.GIF]]
5. Select the menu 'Diagram\Constraint\UC'.
6. Repeat steps 4 and 5 to add the unicity constraints to the seperate roles 14, 15, 7 and 9.
7. Hold the Ctrl-key and select both roles 11 and 12.
8. Select the menu 'Diagram\Constraint\UC'.
9. Repeat steps 7 and 8 to add the uncity constraint to role combination 11 + 13.
[[File:Igdwithucs.GIF]]
= Adding totality constraints =
= Adding totality constraints =
= Removing intra fact type constraints =
= Removing intra fact type constraints =

Revision as of 10:52, 18 February 2013

In this lesson you will learn how to add constraints to the information grammar using the Diagram Designer.

The constraints you are adding will not be applied to the population. As a result it is posible to add population that violates the constraints in the information grammar.

Adding unicity constraints

Step 16

1. Open the Diagram.

2. Click on 'Student' in the Diagram Designer, then select the menu 'Diagram\Constraint\UC'.

Igdconstraintmenu.GIF

3. Repeat step 2 to add the unicity constraint to 'Apprenticeship'.

4. Hold the Ctrl-key and select role 3.

Note: You may select multiple roles also using the multiple role button from the diagram toolbar.

Multiroleselect.GIF

5. Select the menu 'Diagram\Constraint\UC'.

6. Repeat steps 4 and 5 to add the unicity constraints to the seperate roles 14, 15, 7 and 9.

7. Hold the Ctrl-key and select both roles 11 and 12.

8. Select the menu 'Diagram\Constraint\UC'.

9. Repeat steps 7 and 8 to add the uncity constraint to role combination 11 + 13.

Igdwithucs.GIF

Adding totality constraints

Removing intra fact type constraints

Removing and adding inter fact type constraints

Adding comment to constraints

Adding subset constraints