This software is a route planning system and the purpose of this product is to provide the user with the most optimal and cost efficient route to the trucks between the pick-up point which is predetermined and the consumer. Team 4 decided to use a command line interface by using the front end language, python. To approach this prompt, the team used agile methodology and scrum calls to address and come up with a solution in four sprints that involved: Requirements engineering; System Modeling; Architectural Design; Design and Implementation; Software Testing; and Evaluation. All of these components helped us come up with a program that satisfies all the requirements.
- Install Poetry. Don't forget to add the poetry command to your PATH (Instructions to do this is given post-installation)
- Navigate to the GitHub Project
- Install Dependencies with
poetry install
- Run with
poetry run python3 rutgersdelivery/main.py
. You need Python 3.9 and above to run
Password is rurahrah
This is on how to input user values:
- Click on the rutgersdelivery folder and open up the main.py file.
- Run this program.
- It asks for user input:
- Password: 'rurahrah'
- If password is verified, it asks for the number of trucks required.
- Enter the number of trucks available
- Enter the number of routes required
- If approved (# of trucks >= # of routes) , the gas price is displayed
- The next input is points of the truck's route
- The input would be added to the truck's current route list
- If finished, select 'END ROUTE SELECTION' option
- If not finished, more inputs can be added
- The application outputs Gas price, Optimal distance and Optimal Route
We ran the testcases using pytest.
- Navigate to the 'tests' section of the code
- Embedded in this section you need to go to the 'test_rutgersdelivery.py' file
- In order to check that our unit testing works, navigate to the command line and type 'poetry run pytest'
- If the program outputs 'All tests passed' then the testing is successful.
- Akanksha Arun - [email protected]
- Eshaan Mathur - [email protected]
- Eoin O’Hare - [email protected]
- Sidhu Arakkal - [email protected]
- Mohammad Awais Zubair - [email protected]