|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValIterator
An interface for control objects that model the iteration of (search) values associated to an IntDomainVarImpl
Method Summary | |
---|---|
int |
getFirstVal(Var x)
Accessing the index of the first branch for variable x |
int |
getNextVal(Var x,
int i)
generates the index of the next branch after branch i, on the alternative associated to variable x |
boolean |
hasNextVal(Var x,
int i)
testing whether more branches can be considered after branch i, on the alternative associated to variable x |
Method Detail |
---|
boolean hasNextVal(Var x, int i)
x
- the variable under scrutinyi
- the index of the last branch explored
int getFirstVal(Var x)
x
- the variable under scrutiny
int getNextVal(Var x, int i)
x
- the variable under scrutinyi
- the index of the last branch explored
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |