Back to problems

Model Elevator Dispatch for Sequential and Overlapping Calls

Object-Oriented Programming · Pinterest · Hard

A simulation is being designed for a group of elevators. The system processes a sequence of ride requests and, after all requests are handled, must identify which elevator was assigned to the last request. Part 1 — Requests That Complete Before the Next One There are n elevators, all initially on floor 1. Each request is fully served before the next request is received. Describe what data a request must contain, how the dispatcher decides which elevator to assign, and how…

Checking your access…