Package | Description |
---|---|
org.chocosolver.solver.search.strategy | |
org.chocosolver.solver.search.strategy.strategy |
Modifier and Type | Method and Description |
---|---|
static IntStrategy |
Search.inputOrderLBSearch(IntVar... vars)
Assigns the first non-instantiated variable to its lower bound.
|
static IntStrategy |
Search.inputOrderUBSearch(IntVar... vars)
Assigns the first non-instantiated variable to its upper bound.
|
static IntStrategy |
Search.intVarSearch(VariableSelector<IntVar> varSelector,
IntValueSelector valSelector,
DecisionOperator<IntVar> decisionOperator,
IntVar... vars)
Builds your own search strategy based on binary decisions.
|
static IntStrategy |
Search.intVarSearch(VariableSelector<IntVar> varSelector,
IntValueSelector valSelector,
IntVar... vars)
Builds your own assignment strategy based on binary decisions.
|
static IntStrategy |
Search.minDomLBSearch(IntVar... vars)
Assigns the non-instantiated variable of smallest domain size to its lower bound.
|
static IntStrategy |
Search.minDomUBSearch(IntVar... vars)
Assigns the non-instantiated variable of smallest domain size to its upper bound.
|
static IntStrategy |
Search.randomSearch(IntVar[] vars,
long seed)
Randomly selects a variable and assigns it to a value randomly taken in
- the domain in case the variable has an enumerated domain
- {LB,UB} (one of the two bounds) in case the domain is bounded
|
Modifier and Type | Class and Description |
---|---|
class |
FullyRandom
Project: choco-solver.
|
Copyright © 2018. All rights reserved.