Given the current recursive implementation of the generateMultiSched() method (adapted from Tsirunyan), all possible schedules are not generated. Output ArrayList (found in field schedList) contains copies of the first possible combination (number of copies is the product of the sizes of each ArrayList of course offerings).
Testing and debugging reveals that in each recursive call, contents of the parameter curr are shared.
- Intended behaviour is for separate ArrayLists generated to be the said combinations
- However, while this implementation doesn't work, the original implementation works
- This may imply that use of ArrayLists is the cause of the problem