Sample Assignment 2

Here is a sample beverage container that you can use as a reference for the assignment: SampleGlass.CATPart. Pay attention to the Driving Parameters and how these are used in formulas in Relations. This may seem a bit daunting at first but once you disassemble the logic it is not so hard.

3 Locations
This glass responds to 3 driving parameters based on 3 locations in San Francisco

The 3 driving parameters are:

  • Crime - More crime = greater need to use your glass to defend yourself in bar-fights.
  • Hills - Some areas are really hilly and here the glass needs to compensate for surface slope.
  • Posh - Different areas have different taste of drink; the posher areas go for martinis whereas the less posh areas go for beer.


parametric logic diagram


Setting the parameters according to the above diagram gives us the following variants:
(The final image shows [Crime=4, Hills=0, Posh=7])

 
stanford/sample_assignment_2.txt · Last modified: 2008/10/06 19:00 by fflager     Back to top