|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cpsolver.studentsct.extension.TimeOverlapsCounter.Conflict
public static class TimeOverlapsCounter.Conflict
A representation of a time overlapping conflict
Constructor Summary | |
---|---|
TimeOverlapsCounter.Conflict(Student student,
int share,
Enrollment e1,
Assignment a1,
Enrollment e2,
Assignment a2)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Enrollment |
getE1()
First enrollment |
Enrollment |
getE2()
Second enrollment |
Request |
getR1()
First request |
Request |
getR2()
Second request |
Assignment |
getS1()
First section |
Assignment |
getS2()
Second section |
int |
getShare()
The number of overlapping slots against the number of slots of the smallest section |
Student |
getStudent()
Related student |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimeOverlapsCounter.Conflict(Student student, int share, Enrollment e1, Assignment a1, Enrollment e2, Assignment a2)
student
- related studenta1
- first conflicting sectiona2
- second conflicting sectionMethod Detail |
---|
public Student getStudent()
public Assignment getS1()
public Assignment getS2()
public Request getR1()
public Request getR2()
public Enrollment getE1()
public Enrollment getE2()
public int hashCode()
hashCode
in class Object
public int getShare()
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |