The Process ModelPart 2 Closing the Iterative Design

























- Slides: 25
The Process Model—Part 2 Closing the Iterative Design Loop Mississippi State University Page 1 10/31/2020
Senior Design Deliverables · State Diagram showing your most interesting object’s behavior combined with its Process Model · Revised Information Model showing original and new attributes discovered when developing your state and process models Mississippi State University Page 2 10/31/2020
Partial Example of First Deliverable : Vending Machine Pseudo-Code Process Model with State Model Mississippi State University Page 3 10/31/2020
Example of Second Deliverable: Revised Vending Machine Information Model Newly Discovered Vending Machine Attributes Pickup Bin Not Accessed Mississippi State University Page 4 10/31/2020
Ready, Set, Go First, select the most interesting object from your Information Model. Mississippi State University Page 5 10/31/2020
Second, create the State Model for your most interesting object. Mississippi State University Page 6 10/31/2020
Vending Machine State Model Mississippi State University Page 7 10/31/2020
Vending Machine Pseudo-Code Process Model Combined with State Model Mississippi State University Page 8 10/31/2020
Object Action Language · Accessing (Reading, Writing, and Printing) Object Attributes · Create · Delete · Generate · Find · Foreach · Exists Mississippi State University Page 9 10/31/2020
Accessing Object Attributes · Vending Machine object attributes shown in the Information Model may be accessed from any VM state Process Model · Dispenser object attributes may be accessed from any VM state Process Model using the relationship R 2 · Object instances must be identified to access attributes: Vending_Machine(1). Total_Number_Of_Quarters_Available or Vending_Machine(1). Current_State or Dispenser(33). Snack_Selection_Number · Setting an attribute: Vending_Machine(1). Total_Number_Of_Quarters_Available = 5 · Printing an attribute: print Vending_Machine(1). Current_State Mississippi State University Page 10 10/31/2020
Create and Delete Mississippi State University Page 11 10/31/2020
Generate (Review from 2 Weeks Ago) Mississippi State University Page 12 10/31/2020
Find Mississippi State University Page 13 10/31/2020
Foreach Mississippi State University Page 14 10/31/2020
Exists is used to test if an object instance exists If (Exists (Dispenser(33))) { // Dispenser(33) exists // Delete Dispenser(33) // <delete Dispenser(33)> } If (!Exists (Dispenser(33))) { // Dispenser(33) does not exists // Create Dispenser(33) and initialize its attributes // <create Dispenser(33)…> } Mississippi State University Page 15 10/31/2020
Include C language as needed · And that’s everything required to complete the Process Model for your most interesting object · Think about what you need to do, then express it using pseudo-code Mississippi State University Page 16 10/31/2020
Senior Design Deliverables · State Diagram showing your most interesting object’s behavior combined with its Process Model · Revised Information Model showing original and new attributes discovered when developing your state and process models Mississippi State University Page 17 10/31/2020
Partial Example of First Deliverable : Vending Machine Pseudo-Code Process Model with State Model Mississippi State University Page 18 10/31/2020
Example of Second Deliverable: Revised Vending Machine Information Model Newly Discovered Vending Machine Attributes Pickup Bin Not Accessed Mississippi State University Page 19 10/31/2020
Backup Story: A Tale of More Models Mississippi State University Page 20 10/31/2020
Information Model Mississippi State University Page 21 10/31/2020
State And Process Model - Room Mississippi State University Page 22 10/31/2020
State and Process Model - Person Mississippi State University Page 23 10/31/2020
Object Communication Model • OOA Signaling Diagram Mississippi State University Page 24 10/31/2020
Object Communication Model - OCM Mississippi State University Page 25 10/31/2020