|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cpsolver.exam.heuristics.ExamUnassignedVariableSelection
public class ExamUnassignedVariableSelection
Unassigned variable selection. The "biggest" variable (using
Comparable.compareTo(Object)
) unassigned variable is selected. One is
selected randomly if there are more than one of such variables.
Constructor Summary | |
---|---|
ExamUnassignedVariableSelection(DataProperties properties)
Constructor |
Method Summary | |
---|---|
void |
init(Solver<Exam,ExamPlacement> solver)
Initialization |
Exam |
selectVariable(Solution<Exam,ExamPlacement> solution)
Variable selection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExamUnassignedVariableSelection(DataProperties properties)
Method Detail |
---|
public void init(Solver<Exam,ExamPlacement> solver)
init
in interface VariableSelection<Exam,ExamPlacement>
public Exam selectVariable(Solution<Exam,ExamPlacement> solution)
selectVariable
in interface VariableSelection<Exam,ExamPlacement>
solution
- current solution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |