Presentation is loading. Please wait.

Presentation is loading. Please wait.

Problem Analysis and Structure Models and Frames.

Similar presentations


Presentation on theme: "Problem Analysis and Structure Models and Frames."— Presentation transcript:

1 Problem Analysis and Structure Models and Frames

2 Solutions Traditional focus on solutions Little attention paid to problems to be solved Structured methods usually deal entirely with solutions –Problem is inferred from the outline solution

3 Problem Frames A mechanism for problem analysis and structuring Avoids solution-oriented thinking PFs characterise classes of problems that commonly occur as subproblems of larger, realistic, problems. Use a process of decomposition This is not top-down/func. dec.

4 Key concepts World Phenomena Domains Descriptions

5 World Problems such as controlling lifts, bank accounting, theatre reservations, car brake controllers, libraries are all located in the world. The computer is the solution

6 Phenomena Analysis conerned with the World and its phenomena PF phenomenology includes: –Entities –Events –Values –States –Truths –Roles Controllable phenomena

7 Domains A domain is simply a distinct part of the world A collection of related phenomena Phenomena & their relationships constitute domain properties Domains can share phenomena –Lift & passengers interact because pressing a button is a shared phenomenon Machine domain is the solution

8 Descriptions Problem analysis concerned with these descriptions over the phenomena of the problem domain: –the Requirement –the Domain Properties –the Machine Specification Development success: MS, DP  R

9 Problem Frames: Elementary Real problems are not general but specific A frame captures characteristics of a very constrained class of idealised (simplified) problems Stipulate structure and charac. of requirement, of the domain (possibly several), and of interfaces among domains

10 Frame Diagrams Striped box = the machine to build Plain box = part of the world that interacts with the machine Solid line = interface of shared phenomena Ellipse = requirement Dotted arrow shows req is a description of the phenomena of the world principal parts & solution task

11 Simple Behaviour Frame Simple control problem Requirement (RB) is to impose certain behaviour on the problem domain (CD) Req. expressed in terms of shared phenomena C3

12 Simple Information Answers

13 Simple Information Display

14 Simple Workpieces Frame

15 The JSP Frame

16 JSP Frame continued Tightly constrained frame –Clear rules for checking if each step has been done correctly. –If you can’t complete a step, you can find the reason Streams & correspondences can’t be described = frame misfit Can’t form program structure (st. clash) If a misfit, then try another frame, and another method.

17 Exercises For each of the following problems, find a suitable frame and draw a frame diagram –A system to control automatic ticket machines at a roadside toll booth –A signal processing program in which input signals have to be processed and converted and then output –A small interactive editor that will be part of a Personal Information Manager

18 Further Reading See the web site for pointers to more detailed information


Download ppt "Problem Analysis and Structure Models and Frames."

Similar presentations


Ads by Google