Parallelized simulation of a club and bartender in Java.
Find a file
2026-01-11 15:41:25 +02:00
src add files 2026-01-11 15:41:25 +02:00
Makefile add files 2026-01-11 15:41:25 +02:00
README.md add files 2026-01-11 15:41:25 +02:00
Report.pdf add files 2026-01-11 15:41:25 +02:00

Multithreaded Concurrent Club Simulation

Please see the report for more information.

To compile this program, run "make". Ensure your system has a Java compiler and runtime located at /usr/bin/javac and /usr/bin/java respectively. It is assumed you are using GNU make.

To run this program, either change into the bin directory and run "java ClubSimulation ", or run "java -cp bin/ ClubSimulation " from the root program directory that this README.txt file is in.

Either leaves empty, or replace with the program arguments: num_clubgoers num_x_cells num_y_cells max_patrons

Where num_clubgoers is the total number of people to enter the room, num_x_cells and num_y_cells are the number of X grid cells and Y grid cells respectively, and max_patrons is the maximum number of patrons allowed inside the club at one time.

Example: "java -cp bin/ ClubSimulation 20 10 10 5" or "java -cp bin/ ClubSimulation" (to run with default parameters of 20 10 10 5)