|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.cp.solver.search.real.RealIncreasingDomain
public class RealIncreasingDomain
An open-source Constraint Programming Kernel for Research and Education Created by: Guillaume on 2 nov. 2004
Constructor Summary | |
---|---|
RealIncreasingDomain()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RealIncreasingDomain()
Method Detail |
---|
public boolean hasNextVal(RealVar x, int i)
hasNextVal
in interface ValIterator<RealVar>
x
- the variable under scrutinyi
- the index of the last branch explored
public int getFirstVal(RealVar x)
getFirstVal
in interface ValIterator<RealVar>
x
- the variable under scrutiny
public int getNextVal(RealVar x, int i)
getNextVal
in interface ValIterator<RealVar>
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 |