public class Smallest extends Object implements VariableSelector<IntVar>, VariableEvaluator<IntVar>
Constructor and Description |
---|
Smallest() |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(IntVar variable)
Evaluates the heuristic that is minimized in order to find the best variable
|
IntVar |
getVariable(IntVar[] variables)
Provides access to the current selected variable among
variables . |
public IntVar getVariable(IntVar[] variables)
VariableSelector
variables
.
If there is no variable left, return null
.getVariable
in interface VariableSelector<IntVar>
null
otherwise.public double evaluate(IntVar variable)
VariableEvaluator
evaluate
in interface VariableEvaluator<IntVar>
variable
- array of variableCopyright © 2018. All rights reserved.