Google

Monday, June 9, 2008

IntiCas 028: Trying Set Double Slots Algorithm

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.