public class Largest extends Object implements VariableSelector<IntVar>, VariableEvaluator<IntVar>
| Constructor and Description |
|---|
Largest() |
| 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)
VariableSelectorvariables.
If there is no variable left, return null.getVariable in interface VariableSelector<IntVar>null otherwise.public double evaluate(IntVar variable)
VariableEvaluatorevaluate in interface VariableEvaluator<IntVar>variable - array of variableCopyright © 2017. All rights reserved.