Scheduling program/algorithm

Status
You're currently viewing only aquinas's posts. Click here to go back to viewing the entire thread.
Not open for further replies.
So every fall/spring I have to register for classes. I want to sign up for 4 or 5 classes. Now, as I go to a big university, there are several sections available for each of the classes I want to take. The problem is, to figure out what the best schedule is is a pain in the neck. You know the drill, you go, "I want to take this class. And then this one. Uh oh, if I take that one I can't the previous one." you get the idea. So I thought to myself, what if I wrote a program to print out ALL possible schedules for any number of classes you want to take. You could even sort on various fields like: "Fewest days a week", "Least amount of slack time between classes", etc.

So then I thought to myself that even though this SOUNDS like a simple program, I couldn't come up with a good algorithm to do this. Methinks you would need to do a lot of recursion and backtracking, or maybe I'm missing something obvious. Any ideas sirs? :confused:
 
Status
You're currently viewing only aquinas's posts. Click here to go back to viewing the entire thread.
Not open for further replies.