public final class IntDomainBest extends Object implements IntValueSelector
| Constructor and Description |
|---|
IntDomainBest()
Create a value selector for assignments that returns the best value wrt to the objective to
optimize.
|
IntDomainBest(int maxdom,
DecisionOperator<IntVar> dop)
Create a value selector that returns the best value wrt to the objective to optimize.
|
| Modifier and Type | Method and Description |
|---|---|
int |
selectValue(IntVar var)
Selects and returns the value to constrained chosen variable with.
|
public IntDomainBest(int maxdom,
DecisionOperator<IntVar> dop)
maxdom, only bounds are considered.maxdom - a maximum domain size to satisfy to use this value selector.dop - the decision operator used to make the decisionpublic IntDomainBest()
public int selectValue(IntVar var)
variable.selectValue in interface IntValueSelectorCopyright © 2018. All rights reserved.