primaryIndex
int primaryIndex
T
- type of variable being used in the Search.SelectChoicePoint<T>
Default values: pivotPosition = 0, mainComparator = InputOrder, tieBreakingComparator = InputOrder.
(package private) static final boolean
boolean
(package private) ComparatorVariable<T>
int
(package private) int
(package private) int
(package private) ComparatorVariable<T>
SimpleMatrixSelect(T[][] vars,
ComparatorVariable<T> mainComparator,
ComparatorVariable<T> tieBreakingComparator,
Indomain<T> indomain)
SimpleMatrixSelect(T[][] vars,
ComparatorVariable<T> mainComparator,
ComparatorVariable<T> tieBreakingComparator,
Indomain<T> indomain,
int pivotPosition)
SimpleMatrixSelect(T[][] vars,
ComparatorVariable<T> mainComparator,
Indomain<T> indomain)
SimpleMatrixSelect(T[][] vars,
Indomain<T> indomain)
getChoiceConstraint(int index)
int
getChoiceVariable(int firstVariable)
int
getIndex()
int
void
void
toString()
vars
- variables to choose from.indomain
- value ordering heuristic used to choose a value for a given variable.vars
- matrix of variables to be selected from.mainComparator
- the variable comparator to choose the proper vector.indomain
- variable ordering value to be used to determine value for a given variable.vars
- matrix of variables to be selected from.mainComparator
- the variable comparator to choose the proper vector.tieBreakingComparator
- the variable comparator used if the main comparator can not distinguish between vectors.indomain
- variable ordering value to be used to determine value for a given variable.vars
- variables from which the base of the choice point is choosen.mainComparator
- the main variable comparator used to compare variables.tieBreakingComparator
- the secondary variable comparator used to break ties.indomain
- the value ordering heuristic used to assign value to a chosen variable.pivotPosition
- the position of the variable which is used to rank the rows.getChoiceVariable
in interface SelectChoicePoint<T extends Var>
firstVariable
- the position of the last variable in selection choice point heuristic.getChoiceValue
in interface SelectChoicePoint<T extends Var>
getChoiceConstraint
in interface SelectChoicePoint<T extends Var>
index
- the position of the last variable returned by selection choice point heuristic.getVariablesMapping
in interface SelectChoicePoint<T extends Var>
getIndex
in interface SelectChoicePoint<T extends Var>