Elevadores
The Elevator Challenge
The Fun Educational Resource for Object-Oriented Design and Programming
Introduction
The goal of the Elevator Challenge is to provide students and hobbyists a chance to practice their programming skills by addressing a real-life problem – how to most efficiently control the elevators or lifts of a building. At the heart of the challenge is an elevator simulator which allows programmers to design, code and then test their implementation in efficiently managing elevators in different realworld scenarios. You also get the chance to test your skills by comparing results with others, including the option to submit results here to compete against other programmers from around the world. The Elevator Challenge has been accepted as an ACM SIGSCE educational resource. Subscribe now to receive news and updates.
Contents
This guide comprises three sections: 1. The Simulator. This section describes operation of the Elevator Challenge Simulator. 2. The Model. This section describes the underlying model of the Simulator. 3. The Code. This section gives an overview of the Simulator code and the development of the elevator group Controller.
Quick Peek
To get a quick feel for what the Simulator looks like, simply install the Simulator and run the file challenge.bat. As long as you have Java installed, it will give you a chance to play with the functionality before creating your own control logic.
Version 0.4
Page 1
Elevator Challenge Guide
The Simulator
The Elevator Challenge is run using a Simulator which allows for the creation of a Scenario which describes a particular building and the characteristics of its occupants. Using the logic provided by in the Challenge class, the performance of the elevator group is measured in a Simulation. Once the logic of the elevator group Controller is programmed by the user, the Elevator Challenge Simulator does all the work!
Running the Simulator
The Simulator is