V - VariableT - Valuepublic class DbtValueSelection<V extends Variable<V,T>,T extends Value<V,T>> extends Object implements ValueSelection<V,T>
| 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 and Description |
|---|
DbtValueSelection(DataProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Solver<V,T> solver)
Heuristics initialization
|
T |
selectValue(Solution<V,T> solution,
V selectedVariable)
Value selection
|
public DbtValueSelection(DataProperties properties)
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)Copyright © 2015 UniTime LLC. All Rights Reserved.