Interface IEnumDelta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(int value, ICause cause)Adds a new value to the deltaintget(int idx)Return the idx^th value stored in the delta, if any-
Methods inherited from interface org.chocosolver.solver.variables.delta.IDelta
getEnvironment, lazyClear
-
-
-
-
Method Detail
-
add
void add(int value, ICause cause)Adds a new value to the delta- Parameters:
value- value to addcause- of the removal
-
get
int get(int idx) throws IndexOutOfBoundsException
Return the idx^th value stored in the delta, if any- Parameters:
idx- rank of the value- Returns:
- idx^th value
- Throws:
IndexOutOfBoundsException- if idx is out of the bounds
-
-