Module org.chocosolver
Class VariableSelectorWithTies<V extends Variable>
- java.lang.Object
-
- org.chocosolver.solver.search.strategy.selectors.variables.VariableSelectorWithTies<V>
-
- All Implemented Interfaces:
VariableSelector<V>
public class VariableSelectorWithTies<V extends Variable> extends Object implements VariableSelector<V>
- Since:
- 17/03/2014
- Author:
- Charles Prud'homme
-
-
Constructor Summary
Constructors Constructor Description VariableSelectorWithTies(VariableEvaluator<V>... heuristics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getVariable(V[] variables)
Provides access to the current selected variable amongvariables
.
-
-
-
Constructor Detail
-
VariableSelectorWithTies
@SafeVarargs public VariableSelectorWithTies(VariableEvaluator<V>... heuristics)
-
-
Method Detail
-
getVariable
public V getVariable(V[] variables)
Description copied from interface:VariableSelector
Provides access to the current selected variable amongvariables
. If there is no variable left, returnnull
.- Specified by:
getVariable
in interfaceVariableSelector<V extends Variable>
- Returns:
- the current selected variable if any,
null
otherwise.
-
-