s3_static - Alloy Analyzer 4 Tutorial Session 3: Static...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Alloy Analyzer 4 Tutorial Session 3: Static Modeling Greg Dennis and Rob Seater Software Design Group, MIT
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
static vs. dynamic models static models describes states, not behaviors properties are invariants e.g. that a list is sorted dynamic models describe transitions between states properties are operations e.g. how a sorting algorithm works
Background image of page 2
modeling academic records course catalog and graduation requirements create a new file in the Alloy Analyzer save it as courses.als write the appropriate module header
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
set declarations declare signatures for the following our system has courses , students , and departments all courses are either introductory or advanced courses of either type can be electives students are freshmen , sophomores , juniors , seniors
Background image of page 4
classification first step of building a model consider what things are relevant structure them hierarchically subsets for orthogonal classification why not include in your classification . . . ? the registrar course prerequisites rooms where courses meet meaning unclear relationship, not entity irrelevant
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
modeling the relationships create fields for the following course belongs to a single department department has courses required to graduate advanced course has one or more prerequisites student has at most one major department student has courses they have taken
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/24/2012 for the course CSE 503 taught by Professor Davidnotikin during the Spring '11 term at University of Washington.

Page1 / 18

s3_static - Alloy Analyzer 4 Tutorial Session 3: Static...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online