Problem Analysis and Structure II Multi-frame problems.

Slides:



Advertisements
Similar presentations
Pipeline Computer Organization II 1 Hazards Situations that prevent starting the next instruction in the next cycle Structural hazards – A required resource.
Advertisements

The InterComm-based CCA MxN components Hassan Afzal Alan Sussman University of Maryland.
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Winter 2007SEG2101 Chapter 41 Chapter 4 SDL – Structure and Behavior.
Introduction to Operating Systems – Windows process and thread management In this lecture we will cover Threads and processes in Windows Thread priority.
Design Review Presentation Lost Caf é 66. Introduction of Team Team Leader: Arthur Phanphengdy Members: Quincy Quach Kang Lu Jackson Ng Team Name: Lost.
Machine Learning for Routing During Congestion Events Kurtis Heimerl.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
SE-565 Software System Requirements More UML Diagrams.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
UW CSE 503 ▪ Software Engineering ▪ Spring 2004 ▪ Rob DeLine1 CSE 503 – Software Engineering Lecture 2: Jackson Problem Frames Rob DeLine 31 Mar 2004 Thanks.
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Slide - 1 Dr Terry Hinton 6/9/05UniS - Based on Slides by Micro Analysis & Design An example of a Simulation Simulation of a bank: Three tasks or processes:
Packet and Circuit Switching
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
Router. Introduction A router is a device in computer networking that forwards data packets to their destinations, based on their addresses. The work.
Technical Education Click here to move on Index Types of Conference Lesson 7.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Data Flow Diagrams.
Problem Analysis and Structure Models and Frames.
Click to edit Master subtitle style Chapter 9: Introduction to IP Routing Instructor:
1 Next Few Classes Networking basics Protection & Security.
Functional Modeling – Requirement Patterns (Problem Frames)
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
Entities and Objects The major components in a model are entities, entity types are implemented as Java classes The active entities have a life of their.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 2. How Computer Networks Send Data Across the Internet.
Intro to Jackson Software Engineering Oct 6, 2005.
Model Reference Adaptive Control (MRAC). MRAS The Model-Reference Adaptive system (MRAS) was originally proposed to solve a problem in which the performance.
E81 CSE 532S: Advanced Multi-Paradigm Software Development Chris Gill Department of Computer Science and Engineering Washington University, St. Louis
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
1 Kyung Hee University Statecharts Spring Kyung Hee University Specifying Objects’ Behaviour  Interaction diagrams show message-passing behaviour.
Capstone Project Phase Two! Design Phase – Functional Specification Document.
UML Discussion on State Machines Perfectly static system is intensely uninteresting Because nothing ever happens.
Internet Protocol: Routing IP Datagrams Chapter 8.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 19 – Activity Diagrams.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
October 2002J. B. Wordsworth: J2ISDPPC1 Information Systems Development Problem Frames: Problems and Contexts.
Understanding Network Architecture CHAPTER FOUR. The Function of Access Methods The set of rules that defines how a computer puts data onto the network.
Problems and Frames III Recap and More Concepts. Definition “A problem frame is a kind of pattern. It define an intuitively identifiable problem in terms.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
THE NETWORKS Theo Chakkapark. Open System Interconnection  The tower of power!  The source of this power comes from the model’s flexibility.
Copyright 2009 Kenneth M. Chipps Ph.D. Addressing in Networks Last Update
THE EYESWEB PLATFORM - GDE The EyesWeb XMI multimodal platform GDE 5 March 2015.
Problems and Frames IV Heuristics. Heuristics? Serving or helping to find out or discover; Guidelines; But connotations of trial and error.
From Use Cases to Implementation 1. Structural and Behavioral Aspects of Collaborations  Two aspects of Collaborations Structural – specifies the static.
From Use Cases to Implementation 1. Mapping Requirements Directly to Design and Code  For many, if not most, of our requirements it is relatively easy.
The OSI Model Prof. Choong Seon HONG.
Click to edit Master subtitle style
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
Data Management Solutions for a Modernized HIS
Lecture 6: TCP/IP Networking By: Adal Alashban
Problem Frames A Lecture
Net 323: NETWORK Protocols
Liang Chen Advisor: Gagan Agrawal Computer Science & Engineering
What are the Common Warning Signs of Faulty Oil Pressure Sensor.
Morgan Kaufmann Publishers The Processor
OPTICAL PACKET SWITCHING
Design and Implementation
TinyOS CSE466 Final Project Presentation
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Processes Hank Levy 1.
Click to edit Master subtitle style
Delivery, Forwarding, and Routing of IP Packets
write on board in advance: handouts, names, Hoare quote
From Use Cases to Implementation
Presentation transcript:

Problem Analysis and Structure II Multi-frame problems

Composite Frames Using only elementary frames means –Decomposing problems such that each subproblem fits one elementary frame –Don’t build repository of experience about problem and solution composition Building a car is about more than understanding its component parts We need composite frames

Package Router Problem See Jackson, M.A. “Problem Analysis and Structure” from where this example is taken (pointer on web site) A realistic problem See the problem description on the handout Package router delivers packages to different bins by scanning bar codes on the packages and routing them accordingly What frame does this seem to fit?

Frame Diagram C1 = flip C2 = read, hit, position of switches C3 = arrive, package, bin, destination

Recognising sub-problems Looks like a control problem M/c must flip switches to ensure correct destination Switch is flipped when package passes a sensor at bottom of a pipe However, consideration of the phenomena exposes difficulties

Connection difficulties Destination read at the source station Destination no longer available when package passes the sensor M/c and sensors share only the penomena –SensorOpen and SensorClosed [state] Pckg causing state change is unknown We need a dynamic model

Dynamic model State of pckgs and pipes regarded as a set of queues Pckg arriving at a sensor above switch is at the head of the queue in the pipe to which sensor is attached Destinations (read at source station) are attached to pckg objects in this queue model To flip a switch, m/c consults queue model to identify destination and hence switch setting

Dynamic Model Use model to answer question: what is the barcoded destination of the package that participated in the most recent hit event in which this particular sensor participated?

Further problem The switch to be set is determined by the router topology –i.e. the positioning of sensors on pipes, and the pipe and switch layout. We need a static model here –i.e. a map of the router and its bins Using the map, m/c can determine the correct route and hence set the switch correctly.

Static Model Provides necessary information –Which sensors are on which ends of which pipes? Which pipes feed and leave which switches? Which pipe leaves the reading station? Which bins guarded by which sensors?

Information Display Signalling arrival of package at wrong bin is a Simple Information System Display problem

Composing the Solution How do we schedule the machines from each sub-problem? Run the static-model machine to completion first Run the other machines in parallel synchronised by the read and hit events

Summary Problems located in real world not computer Large (realistic) problems can be seen as compositions of small problems Small problems must be of recognised classes Problem structure often a parallel composition of subproblems