schedule
Class AdminCourseOverlap
java.lang.Object
schedule.AdminCourseOverlap
abstract class AdminCourseOverlap
- extends java.lang.Object
This class defines a Collection of courses the admin populates.
This Collection of courses may not be scheduled at the same time.
The score tells how "well" the generated schedule met this constraint to give an idea
of how good the generated schedule turned out.
This object is derived from Section 2.4.1.2 of the Functional Requirements.
Method Summary |
abstract void |
addCourse(Course toAdd)
This method is called each time an admin adds a course to a Collection of courses
they would not like to be scheduled with overlap. |
abstract void |
saveCourseList()
This method is called when the admin wants to save the Collection of courses. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
courses
java.util.Collection<Course> courses
overlapScore
int overlapScore
AdminCourseOverlap
AdminCourseOverlap()
addCourse
public abstract void addCourse(Course toAdd)
- This method is called each time an admin adds a course to a Collection of courses
they would not like to be scheduled with overlap.
saveCourseList
public abstract void saveCourseList()
- This method is called when the admin wants to save the Collection of courses.