|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.ifs.dbt.DbtValueSelection<V,T>
public class DbtValueSelection<V extends Variable<V,T>,T extends Value<V,T>>
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<V,T> solver)
Heuristics initialization |
T |
selectValue(Solution<V,T> solution,
V 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<V,T> solver)
ValueSelection.init(Solver)public T selectValue(Solution<V,T> solution, V selectedVariable)
selectValue in interface ValueSelection<V extends Variable<V,T>,T extends Value<V,T>>solution - current solutionselectedVariable - selected variableValueSelection.selectValue(Solution, Variable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||