|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchoco.real.search.RealIncreasingDomain
public class RealIncreasingDomain
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
| Constructor Summary | |
|---|---|
RealIncreasingDomain()
|
|
| 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 |
| 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(Var x,
int i)
IValIterator
hasNextVal in interface IValIteratorx - the variable under scrutinyi - the index of the last branch explored
public int getFirstVal(Var x)
IValIterator
getFirstVal in interface IValIteratorx - the variable under scrutiny
public int getNextVal(Var x,
int i)
IValIterator
getNextVal in interface IValIteratorx - 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 | ||||||||