Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
How are you keeping track of the actual class time in the CourseTime object? <snip> how are you handling the differing class lengths? How are you measuing time? By the hour? half hour? minute? second? Are you going to allow for travel time between classes?
Could you post that algorythm? Id like to see if it would fit my aplication. Mines not based on time, its based on area and straight line cuts.
I assume that you are basing all your Calendar objects on the same week right? How are you handling multiple class times for an individual class? Like a class meets 12-1 on mon/wed/frid. Seems like you would need a 2d array of calendar objects for each CourseTime. Or are you grouping CourseTimes in each course to indicate this? Then you'd have to keep a vector/arraylist of CourseTime arrays. It seems like you either need another intermediate object to group and check your CourseTimes effectively, or you need to expand your CourseTime to become that object and hold multiple time slots during the week.
Doing that, you would have to pull the isConflict() method down into the CourseTime object.
My next question is how do you intend to display the courses to the user?
They select one and it places the time labels in all the panels where they are needed and it internally weeds out all the courses that get ruled out becuase of that class addition. That actually would make your weeding process alot less intensive because it would be a progressive thing instead of just springing the whole sorting/testing process on the program at once. <snip> I think this would be much more useful than just spitting out hundreds of posible course schedule options that the student most sift through or change by hand.
How are you going to have them enter the classes? Are you going to pre enter all the course data and just let them weight it or are they going to have to enter all the data themselves? Any chance of you getting access or a copy(by permission) of the course data direct from The university? That might save you and your users time entering the data. All you'd have to do is interpret it once and import it to your DB. then a user weights classes that they are interested in and anything unweighted gets ignored.
First I would have to see how feasible it is to get the information into a database and poll it every so often.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |