Skip to content

Lemath/Rocket-Elevators-Java-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket-Elevators-Java-Controller

Description

This project simulate the selection and movement logic for elevators in a commercial building and is written in Java.

When someone want to call an elevator from the lobby, he will first select his destination. The controller will then decide which column of the battery to use and select the best elevator available to fill the request and carry the user to his selected floor. When someone call an elevator from a floor, the corresponding column will select his best available elevator to pick up the user and bring him back to the lobby.

Installation

You will need Java JDK installed on your computer first

https://java.com/en/download/help/download_options.html

All files are in src/main/java/com/example and the test file is in src/test/java/com/example

Running the tests

Tests are run using maven

https://maven.apache.org/install.html

To run the tests, access the root directory of the project in your command line and enter :

mvn clean test

You should get the following result :

Java-test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages