Post Office System Simulator simulates the delivery and pickup of packages and letters from several user defined post offices. Scenarios are defined in txt files and run using the java project.
If you are using javac as the Java compiler, head to the root folder of the project and execute the following command:
javac POSSim/*.java POSSim/simulator/*.java
Head to the root folder of the project, and run the following command:
java POSSim.PostOfficeSystemSimulator
"post office system test cases 1.zip" and "post office system test cases 2.zip" have sample tester post office system source codes.
In order to run a test case, follow these steps:
- Run the java project.
- Select
Load
from the main menu. - Navigate to the folder of the desired test case.
- Select
Select the simulation folder
. - You should see a pop-up saying "Simulation loaded!!"
- After the simulation is loaded, select
Simulation
from the toolbar. - Select
Run simulation
.