Applies various scheduling algorithms to processes and produces the corresponding Gantt Chart.
- FCFS
- SJF
- SRTF
- Non-Pre-Emptive Priority
- Pre-Emptive Priority
- Round Robin
- just compile and run boi
P.S To change the algorithm used, change the last line of the main method. For example:
To run Round Robin:
gantChart.roundRobin(processes, 5); //5 is the quantum number
To run First Come First Serve:
gantChart.firstComeFirstServe(processes);