|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cpsolver.ifs.model.Neighbour<Exam,ExamPlacement>
net.sf.cpsolver.exam.split.ExamSplitMoves.ExamSplitNeighbour
protected class ExamSplitMoves.ExamSplitNeighbour
Split an exam into two
Constructor Summary | |
---|---|
ExamSplitMoves.ExamSplitNeighbour(Exam exam,
ExamPlacement placement)
Split an exam into two, assign the new exam into the given placement. |
Method Summary | |
---|---|
void |
assign(long iteration)
Perform the split. |
Exam |
exam()
Exam to be split. |
int |
nrStudents()
Number of students that will be moved into the new exam. |
ExamPlacement |
placement()
Placement of the new exam. |
double |
value()
Value of the split. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExamSplitMoves.ExamSplitNeighbour(Exam exam, ExamPlacement placement)
exam
- an exam to be splitplacement
- a placement to be assigned to the new examMethod Detail |
---|
public void assign(long iteration)
assign
in class Neighbour<Exam,ExamPlacement>
public double value()
value
in class Neighbour<Exam,ExamPlacement>
public int nrStudents()
public Exam exam()
public ExamPlacement placement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |