|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.studentsct.heuristics.RouletteWheelRequestSelection
public class RouletteWheelRequestSelection
Variable (Request
) selection using RouletteWheelSelection
.
Unassigned request has 10 points, an assigned request has 1 point for
each section that exceeds its bound.
Constructor Summary | |
---|---|
RouletteWheelRequestSelection(DataProperties properties)
Constructor |
Method Summary | |
---|---|
protected RouletteWheelSelection |
getRoulette(Solution solution)
Populate roulette wheel selection, if null or empty. |
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 RouletteWheelRequestSelection(DataProperties properties)
properties
- configurationMethod Detail |
---|
public void init(Solver solver)
init
in interface VariableSelection
protected RouletteWheelSelection getRoulette(Solution solution)
public Variable selectVariable(Solution solution)
RouletteWheelSelection
is used.
Unassigned request has 10 points, an assigned request has 1 point for
each section that exceeds its bound.
selectVariable
in interface VariableSelection
solution
- current solution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |