public class BoundSearch extends AbstractStrategy<IntVar>
Modifier and Type | Field and Description |
---|---|
int |
MAX_DOM_SIZE |
vars
Constructor and Description |
---|
BoundSearch(AbstractStrategy<IntVar> mainSearch) |
Modifier and Type | Method and Description |
---|---|
Decision<IntVar> |
getDecision()
Provides access to the current decision in the strategy.
|
boolean |
init()
Prepare
this to be used in a search loop
The initialization can detect inconsistency, in that case, it returns false |
void |
remove()
Remove the current strategy.
|
computeDecision, getVariables, makeIntDecision, toString
public BoundSearch(AbstractStrategy<IntVar> mainSearch)
public boolean init()
AbstractStrategy
this
to be used in a search loop
The initialization can detect inconsistency, in that case, it returns falseinit
in class AbstractStrategy<IntVar>
public void remove()
AbstractStrategy
remove
in class AbstractStrategy<IntVar>
public Decision<IntVar> getDecision()
AbstractStrategy
null
.getDecision
in class AbstractStrategy<IntVar>
Copyright © 2018. All rights reserved.