The Set Single Slots Algorithm is working fine.
So I now begin experimenting with Set Double Slots Algorithm:
What this means is that, each subject will be allocated
fixed 2-hour slots.
For this test:
if(subject[s].getRemainderHours()<=6)
I tried several values ranging from 1 to 6.
But it is not working properly.
Some subjects exceed maximum hours, while some
fall short.
To Do:
Fix the Set Double Slots Algorithm bugs.