Exercises and Examples

All files below are in either html or PDF format.

Exercises

  1. Sets and relations
  2. Introduction to Alloy
  3. Modeling Using Alloy
  4. Dynamic Models and Operations
  5. Alloy Mutability Qualifiers
  6. 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.
  7. USE tool demo
  8. More OCL
  9. Validating pre- and post-conditions with USE

Examples

  1. Family I (Alloy)
  2. Academia (Alloy)
  3. Airport I (Alloy)
  4. Family II (Alloy)
  5. Airport II (Alloy)
  6. Family (USE)
  7. Academia I (USE)
  8. Academia II (USE)
  9. Transitive Closure (USE)
  10. Academia III (USE)

Last Updated: Apr 16, 2003