Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!