|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - type of the variable for which choice point is being created.public interface SelectChoicePoint<T extends Var>
Defines an interface for defining different methods for selecting next search decision to be taken. The search decision called choice point will be first enforced and later upon backtrack a negation of that search decision will be enforced.
| Method Summary | |
|---|---|
PrimitiveConstraint |
getChoiceConstraint(int index)
It returns the constraint which is the base of the choice point. |
int |
getChoiceValue()
It returns a value which is the base of the next choice point. |
T |
getChoiceVariable(int index)
It returns the variable which is the base on the next choice point. |
int |
getIndex()
It returns the current index. |
java.util.IdentityHashMap<T,java.lang.Integer> |
getVariablesMapping()
It specifies the position of variables as given when variables of this select object were supplied. |
| Method Detail |
|---|
T getChoiceVariable(int index)
index - the position of the last variable in selection choice point heuristic.
int getChoiceValue()
PrimitiveConstraint getChoiceConstraint(int index)
index - the position of the last variable returned by selection choice point heuristic.
java.util.IdentityHashMap<T,java.lang.Integer> getVariablesMapping()
int getIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||