|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectview.AttributeView
abstract class AttributeView
Attribute view object that shows the user a schedules attributes. It is the main dialog box shown in Figure 2.4.4.1.
Field Summary | |
---|---|
(package private) int |
constraintScore
The scores shown on the dialog box |
(package private) java.util.Collection<java.lang.String> |
fairness
|
(package private) java.util.Collection<Instructor> |
instructors
The instructors listed next to their corresponding fairness score and the fairness score itself are collections that will be displayed in the table view of the attribute view dialog |
(package private) int |
prefScore
|
(package private) Schedule |
schedule
The schedule the scores correspond to |
Constructor Summary | |
---|---|
AttributeView()
|
Method Summary | |
---|---|
abstract int |
getConstraintScore()
Function to return the Constraint score the current schedule has, which represents how well a schedule meets constraints |
abstract int |
getFairnessScore(Instructor instructor)
Function to return the fairness score the schedule gives a given instructor |
abstract int |
getPreferenceScore()
Function to return the Preference score of the current schedule, which represents how well a schedule meets all instructor preferences |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Schedule schedule
int constraintScore
int prefScore
java.util.Collection<Instructor> instructors
java.util.Collection<java.lang.String> fairness
Constructor Detail |
---|
AttributeView()
Method Detail |
---|
public abstract int getConstraintScore()
public abstract int getPreferenceScore()
public abstract int getFairnessScore(Instructor instructor)
instructor
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |