schedule
Class AdminAdjCourseDistConstraint
java.lang.Object
schedule.AdminAdjCourseDistConstraint
abstract class AdminAdjCourseDistConstraint
- extends java.lang.Object
This object saves the maximum distance between two adjacent courses.
The admin has privileges to set this constraint.
The score integer is used to figure out success metrics of the generated schedule.
It tells how "well" this constraint was met.
This object is derived from Section 2.4.1.3 of the Functional Requirements.
Method Summary |
abstract void |
saveDistance(int dist)
This method is called once the admin saves the maximum distance between adjacent
course. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxDistance
int maxDistance
fixedDistances
java.util.Collection<java.lang.Integer> fixedDistances
adjCourseScore
int adjCourseScore
AdminAdjCourseDistConstraint
AdminAdjCourseDistConstraint()
saveDistance
public abstract void saveDistance(int dist)
- This method is called once the admin saves the maximum distance between adjacent
course.