|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.exam.heuristics.ExamUnassignedVariableSelection
public class ExamUnassignedVariableSelection
Unassigned variable selection. The "biggest" variable (using Variable.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 solver)
Initialization |
Variable |
selectVariable(Solution 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 solver)
init
in interface VariableSelection
public Variable selectVariable(Solution solution)
selectVariable
in interface VariableSelection
solution
- current solution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |