DOC PREVIEW
DREXEL CS 451 - SDD-TrafficControl

This preview shows page 1-2-3 out of 10 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1 Introduction1.1 Purpose1.2 Scope1.3 Definitions, Acronyms, and Abbreviations1.4 Contextual Diagram2 Architecture2.1 Overview2.2 Object Model2.2.1 Direction2.2.2 Car2.2.3 Car Queue2.2.4 Car Queue Collection2.2.5 Light Color2.2.6 Traffic Light Collection2.2.7 Traffic Controller2.2.8 Traffic2.3 Data model2.4 Algorithms3 Detailed Architecture Diagram4 Design ComponentsAppendix A: Traceability MatrixDREXEL UNIVERSITYTraffic Controller SystemDesign DocumentPhil MaconiTABLE OF CONTENTS1 Introduction............................................................................................................................................................21.1 Purpose..........................................................................................................................................................21.2 Scope.............................................................................................................................................................21.3 Definitions, Acronyms, and Abbreviations....................................................................................................21.4 Contextual Diagram.......................................................................................................................................22 Architecture............................................................................................................................................................32.1 Overview.......................................................................................................................................................32.2 Object Model.................................................................................................................................................32.2.1 Direction....................................................................................................................................................42.2.2 Car.............................................................................................................................................................42.2.3 Car Queue.................................................................................................................................................42.2.4 Car Queue Collection................................................................................................................................42.2.5 Traffic Light Status.....................................................................................................................................42.2.6 Traffic Light................................................................................................................................................42.2.7 Traffic Controller.......................................................................................................................................42.2.8 Traffic.........................................................................................................................................................42.3 Data model....................................................................................................................................................42.4 Algorithms.....................................................................................................................................................43 Detailed Architecture Diagram...............................................................................................................................64 Design Components................................................................................................................................................7Appendix A: Traceability Matrix......................................................................................................................................81 INTRODUCTION1.1 PURPOSEThis document specifies the software architecture and design for the Traffic Controller program. The design decisions specified in this document directly relate to the functional and non-functional requirements previously specified.This program simulates automobile traffic flow and traffic signals at a typical four way intersection. There are eight different queues for cars to enter, two each from the north, south, east, and west approaches tothe intersection. Cars entering from the given direction have two options: continue straight (such as northto south) or turn left (such as north to east).This system contains the rules that the traffic light and cars must follow in order to reduce the likelihood of collisions.1.2 SCOPEThis document describes the software architecture and design for the initial release of the Traffic Controller program, version 1.0. The intended audience of this document exclusively includes the designers, the developers, and the testers of the Traffic Controller software system.1.3 DEFINITIONS, ACRONYMS, AND ABBREVIATIONSThe wording used to describe this system does not need to be further defined.1.4 CONTEXTUAL DIAGRAMFIGURE 1: CONTEXTUAL DIAGRAMThis system is completely standalone. It requires no input from external systems and provides no externally accessible services.2 ARCHITECTUREFIGURE 2: SYSTEM ARCHITECTURE2.1 OVERVIEWThis system is entirely self-contained. It consists of three modules: the cars, the light, and the traffic controller. The traffic controller is responsible for coordinating the behavior of the light and the cars. Notethat you would need to describe any sub components in the architecture. The VODKA example does this well.2.2 OBJECT MODELNote that this section may be replaced by a functional decomposition if applicable. FIGURE 3: OBJECT MODEL2.2.1 DIRECTIONThe direction class is an enumeration that specifies the different ways to move through an intersection.2.2.2 CARThe car class encapsulates the car objects. Each car is given a unique identification number and is able to approach an intersection from different directions. 2.2.3 CAR QUEUEThe car queue class encapsulates a line of cars attempting to move through the intersection in a specific direction. 2.2.4 CAR QUEUE COLLECTIONThe car queue collection class contains a set of initialized car queues. There are a total of eight queues instantiated at once, four straight movement queues and four left turn queues.Requirements Satisfied: 0110 and 0120.2.2.5 LIGHT COLORThe traffic light color class is an enumeration that specifies whether a


View Full Document

DREXEL CS 451 - SDD-TrafficControl

Download SDD-TrafficControl
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view SDD-TrafficControl and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view SDD-TrafficControl 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?