public class ExamUnassignedVariableSelection extends Object implements VariableSelection<Exam,ExamPlacement>
Variable.compareTo(Variable)) unassigned variable is selected. One is
selected randomly if there are more than one of such variables.| Constructor and Description |
|---|
ExamUnassignedVariableSelection(DataProperties properties)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(Solver<Exam,ExamPlacement> solver)
Initialization
|
Exam |
selectVariable(Solution<Exam,ExamPlacement> solution)
Variable selection
|
public ExamUnassignedVariableSelection(DataProperties properties)
properties - solver configurationpublic void init(Solver<Exam,ExamPlacement> solver)
init in interface VariableSelection<Exam,ExamPlacement>solver - current solverpublic Exam selectVariable(Solution<Exam,ExamPlacement> solution)
selectVariable in interface VariableSelection<Exam,ExamPlacement>solution - current solution