Exercises and Examples
All files below are in either html or PDF format.
Exercises
-
Sets and relations
-
Introduction to Alloy
-
Modeling Using Alloy
-
Dynamic Models and Operations
-
Alloy Mutability Qualifiers
-
Alloy case study
Transcribe the Alloy model described in [Khu00] from the readings
and feed it into the ACA, trying to reproduce by yourself the results
described in [Khu00].
Then modify the definition of the model as discussed in class and evaluate
the correctness of the changes.
-
USE tool demo
-
More OCL
-
Validating pre- and post-conditions with USE
Examples
- Family I (Alloy)
- Academia (Alloy)
- Airport I (Alloy)
- Family II (Alloy)
- Airport II (Alloy)
- Family (USE)
- Academia I (USE)
- Academia II (USE)
- Transitive Closure (USE)
- Academia III (USE)
Last Updated: Apr 16, 2003