|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.ifs.dbt.DbtValueSelection
public class DbtValueSelection
Selection of a value for dynamic backtracking.
Parameter | Type | Comment |
---|---|---|
General.MPP | Boolean | Minimal Perturbation Problem |
Value.MPPLimit | Integer | Limit on the number of perturbations (only in case of MPP, i.e., when General.MPP=true). MPP limit is decreased when a complete solution is found. If set to -1, it is no used |
Value.InitialSelectionProb | Double | Probability of selection of initial value (only in case of MPP) |
Value.WeightDeltaInitialAssignments | Double | Weight of difference in the number of assignments of initial values in case of selection of the value(only in case of MPP) |
Value.RandomWalkProb | Double | Probability of random selection of a good value |
Value.WeightNrAssignments | Double | Weight of the number of previous assignments of the value |
Value.WeightValue | Double | Weight of the value itself (e.g., for minCSP) |
Constructor Summary | |
---|---|
DbtValueSelection(DataProperties properties)
|
Method Summary | |
---|---|
void |
init(Solver solver)
Heuristics initialization |
Value |
selectValue(Solution solution,
Variable selectedVariable)
Value selection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbtValueSelection(DataProperties properties)
Method Detail |
---|
public void init(Solver solver)
init
in interface ValueSelection
ValueSelection.init(Solver)
public Value selectValue(Solution solution, Variable selectedVariable)
selectValue
in interface ValueSelection
solution
- current solutionselectedVariable
- selected variableValueSelection.selectValue(Solution, Variable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |