Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
23Activity
0 of .
Results for:
No results containing your search query
P. 1
Elevator Problem

Elevator Problem

Ratings:

4.0

(1)
|Views: 3,195 |Likes:
Published by api-3734782

More info:

Published by: api-3734782 on Oct 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

1. Elevator Problem

A product is to be installed to control elevators in a building
with m floors. The problem concerns the logic required to
move elevators between floors according to the following
constraints:

o

Each elevator has a set of m buttons, one for each floor.
These illuminate when pressed and cause the elevator to
visit the corresponding floor. The illumination is
canceled when the elevator visits the corresponding

floor.
o

Each floor, except the first floor and top floor has two
buttons, one to request and up-elevator and one to
request a down-elevator. These buttons illuminate when
pressed. The illumination is canceled when an elevator
visits the floor and then moves in the desired direction.

o
When an elevator has no requests, it remains at its
current floor with its doors closed.
2. Unified Modeling Language

UML is a modeling language that only specifies semantics and notation but no process is currently defined. Thus, we decided to do the analysis as follows;

o
Use Case Diagram
o
Class Diagram
o
Sequence Diagram
o
Collabration Diagram
o
State Diagram
3. Analysis
3.1. Use case diagram
Use case description:
o
A generalized description of how a system will be
used.
o
Provides an overview of the intended functionality of
the system.
o
Understandable by laymen as well as professionals.
Use Case Diagram:
Elevator basic scenario that can be extracted from Use Case
Diagram:
o
Passenger pressed floor button
o
Elevator system detects floor button pressed
o
Elevator moves to the floor
o
Elevator doors open
o
Passenger gets in and presses elevator button
o
Elevator doors closes
o
Elevator moves to required floor
o
Elevator doors open
o
Passenger gets out
o
Elevator doors closes
3.2. Class Diagram
Class diagrams show the static structure of the object, their
internal structure, and their relationships.
Class diagram:

Activity (23)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Poonam Gauns liked this
Poonam Gauns liked this
Engel Blue liked this
raghudathesh liked this
Swati Mongia liked this
Naren Silva liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->