|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RealValIterator
J-CHOCO Copyright (C) F. Laburthe, 1999-2003
An open-source Constraint Programming Kernel for Research and Education Created by: Guillaume on 2 nov. 2004
| Method Summary | |
|---|---|
int |
getFirstVal(RealVar x)
Accessing the index of the first branch for variable x |
int |
getNextVal(RealVar x,
int i)
generates the index of the next branch after branch i, on the alternative associated to variable x |
boolean |
hasNextVal(RealVar x,
int i)
testing whether more branches can be considered after branch i, on the alternative associated to variable x |
| Method Detail |
|---|
boolean hasNextVal(RealVar x,
int i)
x - the variable under scrutinyi - the index of the last branch explored
int getFirstVal(RealVar x)
x - the variable under scrutiny
int getNextVal(RealVar 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 | ||||||||