|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscheduler.generate.Treatment
public class Treatment
Used as the object for a hash of how an instructor has been treated by the scheduling aglorithm, indexed by instructor name, in the Generate class. Contains information regarding the times and courses an instructor has been given, along with how many WTU's he/she currently has.
Field Summary | |
---|---|
protected java.util.Vector<Course> |
courses
Which courses this instructor has been assigned to teach |
protected java.util.Vector<Time> |
times
Which time slots this instructor has been assigned to teach |
protected int |
wtu
How many wtu's an instructor has accrued |
Constructor Summary | |
---|---|
protected |
Treatment()
Constructs a Fairness object with no time assignments, no course assignments, and a WTU count of 0. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector<Time> times
protected java.util.Vector<Course> courses
protected int wtu
Constructor Detail |
---|
protected Treatment()
// **Pre and Post conditions** // Pre: N/A Post: //Valid, empty vector of times return.times.isEmpty() && //Valid, empty vector of courses return.courses.isEmpty() && //WTU count of 0 return.wtu == 0
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |