Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gantt Chart

Applies various scheduling algorithms to processes and produces the corresponding Gantt Chart.

Scheduling Algorithms included

  • FCFS
  • SJF
  • SRTF
  • Non-Pre-Emptive Priority
  • Pre-Emptive Priority
  • Round Robin

Usage

  • 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);

Output format

alt text

About

Applies various scheduling algorithms to processes and produces the corresponding Gant Chart.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages