Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design an algorithm to decide where to take the elevator next. Assumptions: There are 10 floors (1 through 10). Each floor has UP and DOWN

Design an algorithm to decide where to take the elevator next.

Assumptions:

There are 10 floors (1 through 10).

Each floor has UP and DOWN call buttons.

Inside the elevator there are buttons for the 10 floors.

Your system can keep track of anything including how many times a button has been pressed, what time of the day it is, how many people seem to be in the elevator, etc. (**)

Your algorithm should state clearly what information your program uses to decide where to go next.

Group member names:

Detailed Algorithm in English:

State the goal of your algorithm, such as less wait time for people outside the elevator, less wait time for people inside the elevator, less burden on the motor, etc.:

What information does it have access to (**)? List all.

How does it decide which floor to go to next?

State problems or disadvantages of your approach:

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

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

7. How does each of these characters achieve epiphany?

Answered: 1 week ago

Question

Elicaber Arden evis action would reftect an Whatpe croice

Answered: 1 week ago

Question

Are there any disadvantages to this tactic?

Answered: 1 week ago

Question

Who is the assigned manager for each tactic?

Answered: 1 week ago