|
||||||||||
| 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 class DistanceConflict.Conflict
A representation of a distance conflict
| Constructor Summary | |
|---|---|
DistanceConflict.Conflict(double weight,
Student student,
Section s1,
Section s2)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
double |
getDistance()
The distance between conflicting sections |
Section |
getS1()
First section |
Section |
getS2()
Second section |
Student |
getStudent()
Related student |
double |
getWeight()
Conflict weight |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DistanceConflict.Conflict(double weight,
Student student,
Section s1,
Section s2)
weight - conflict weightstudent - related students1 - first conflicting sections2 - second conflicting section| Method Detail |
|---|
public double getWeight()
public Student getStudent()
public Section getS1()
public Section getS2()
public int hashCode()
hashCode in class Objectpublic double getDistance()
public boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||