-
- All Superinterfaces:
IDelta
- All Known Subinterfaces:
IEnumDelta
,IIntervalDelta
- All Known Implementing Classes:
EnumDelta
,IntervalDelta
,NoDelta
,OneValueDelta
public interface IntDelta extends IDelta
An empty interface for delta dedicated to integer variable- Since:
- 23/03/11
- Author:
- Charles Prud'homme
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICause
getCause(int idx)
Return the cause of the idx^th cause stored in the delta, if anyint
size()
Returns the number of element-
Methods inherited from interface org.chocosolver.solver.variables.delta.IDelta
getEnvironment, lazyClear
-
-
-
-
Method Detail
-
size
int size()
Returns the number of element- Returns:
- number of element
-
getCause
ICause getCause(int idx) throws IndexOutOfBoundsException
Return the cause of the idx^th cause stored in the delta, if any- Parameters:
idx
- rank of the interval- Returns:
- cause of the removal
- Throws:
IndexOutOfBoundsException
- if idx is out of the bounds
-
-