|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cpsolver.studentsct.extension.DistanceConflict.Conflict
public static class DistanceConflict.Conflict
A representation of a distance conflict
Constructor Summary | |
---|---|
DistanceConflict.Conflict(Student student,
Enrollment e1,
Section s1,
Enrollment e2,
Section s2)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
double |
getDistance(DistanceMetric dm)
The distance between conflicting sections |
Enrollment |
getE1()
First enrollment |
Enrollment |
getE2()
Second enrollment |
Request |
getR1()
First request |
Request |
getR2()
Second request |
Section |
getS1()
First section |
Section |
getS2()
Second 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 DistanceConflict.Conflict(Student student, Enrollment e1, Section s1, Enrollment e2, Section s2)
student
- related students1
- first conflicting sections2
- second conflicting sectionMethod Detail |
---|
public Student getStudent()
public Section getS1()
public Section getS2()
public Request getR1()
public Request getR2()
public Enrollment getE1()
public Enrollment getE2()
public int hashCode()
hashCode
in class Object
public double getDistance(DistanceMetric dm)
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 |