Chooses the scheduling algorithm to use