/*
  * This class should be instantiated by passing the hashtable of the process list and the time quantum used to
  * slice the time
  */
 public SRT_scheduler(SchedulerUI GUI, Hashtable process_hash_table, int time_quantum)
 {
     this.kill = false;
     pause = false;
     this.GUI = GUI;
     this.time_quantum = time_quantum;
     this.process_hash_table = process_hash_table;
     this.clock_time = 0;
 }
 public Dispatcher(SchedulerUI GUI, ProcessList list, int time_quantum = -1)
 {
     this.GUI = GUI;
     this.list = list;
     this.time_quantum = time_quantum; //only for preemptive algorithms
 }