public class DomOverWDeg extends AbstractStrategy<IntVar>
vars| Constructor and Description |
|---|
DomOverWDeg(IntVar[] variables,
long seed,
IntValueSelector valueSelector)
Creates a DomOverWDeg variable selector
|
| Modifier and Type | Method and Description |
|---|---|
Decision<IntVar> |
computeDecision(IntVar variable)
Computes a decision to be applied to variable var
This method should be implemented in order to use search patterns
|
Decision<IntVar> |
getDecision()
Provides access to the current decision in the strategy.
|
getVariables, init, makeIntDecision, toStringpublic DomOverWDeg(IntVar[] variables, long seed, IntValueSelector valueSelector)
variables - decision variablesseed - seed for breaking ties randomlyvalueSelector - a value selectorpublic Decision<IntVar> computeDecision(IntVar variable)
AbstractStrategycomputeDecision in class AbstractStrategy<IntVar>variable - a variablepublic Decision<IntVar> getDecision()
AbstractStrategynull.getDecision in class AbstractStrategy<IntVar>Copyright © 2017. All rights reserved.