Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are required to design a UML class diagram for a system to be installed to control elevators in a building with m floors. The

You are required to design a UML class diagram for a system 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 requirements:

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.

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.

When an elevator has no requests, it remains at its current floor with its doors closed.

Draw a detailed class diagram for this system. Include relationships between classes (generalization and association) with proper multiplicities.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

Students also viewed these Databases questions

Question

2. Identify issues/causes for the apparent conflict.

Answered: 1 week ago