|
||||||||||
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.ExamMergeNeighbour
protected class ExamSplitMoves.ExamMergeNeighbour
Merge two exams that have been split before back into one. This moves the students from the child exam back to its parent and removes the child exam from the problem.
Constructor Summary | |
---|---|
ExamSplitMoves.ExamMergeNeighbour(Exam exam)
Child exam to be removed. |
Method Summary | |
---|---|
void |
assign(long iteration)
Perform the merge. |
Exam |
exam()
Exam to be merged. |
int |
nrStudents()
Number of students that will be moved back to the parent exam or to some other child (if there are any). |
double |
value()
Value of the merge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExamSplitMoves.ExamMergeNeighbour(Exam exam)
Method 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |