public class GeneralizedMinDomVarSelector extends Object implements VariableSelector
| Constructor and Description |
|---|
GeneralizedMinDomVarSelector()
Chooses the non-instantiated variable with the smallest domain
First fail generalization to all variable kinds.
|
GeneralizedMinDomVarSelector(boolean leastFree)
Chooses the non-instantiated variable with the smallest domain
First fail generalization to all variable kinds.
|
| Modifier and Type | Method and Description |
|---|---|
Variable |
getVariable(Variable[] variables)
Provides access to the current selected variable among
variables. |
public GeneralizedMinDomVarSelector()
public GeneralizedMinDomVarSelector(boolean leastFree)
leastFree - chooses the most Free variable if set to falsepublic Variable getVariable(Variable[] variables)
VariableSelectorvariables.
If there is no variable left, return null.getVariable in interface VariableSelectornull otherwise.Copyright © 2017. All rights reserved.