Generated on Thu Nov 2 14:49:41 2006 for Gecode/J by doxygen 1.5.0

org.gecode.IntVarRanges Class Reference
[Integer variables]

Inherits org.gecode.RangeIterator.

List of all members.


Detailed Description

Range iterator for integer variables

Definition at line 15 of file IntVarRanges.java.

Public Member Functions

void delete ()
 IntVarRanges (IntVar iv)
 Initialize iterator over the domain of iv.
synchronized boolean notDone ()
 Test wheter this iterator is finished.
synchronized void next ()
 Advance to next range.
synchronized int min ()
 Get min of current range.
synchronized int max ()
 Get max of current range.
synchronized long width ()
 Get width of current range.

Protected Member Functions

 IntVarRanges (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

static long getCPtr (IntVarRanges obj)

Protected Attributes

boolean swigCMemOwn


Constructor & Destructor Documentation

org.gecode.IntVarRanges.IntVarRanges ( long  cPtr,
boolean  cMemoryOwn 
) [protected]

Definition at line 19 of file IntVarRanges.java.

org.gecode.IntVarRanges.IntVarRanges ( IntVar  iv  ) 

Initialize iterator over the domain of iv.

Definition at line 42 of file IntVarRanges.java.


Member Function Documentation

static long org.gecode.IntVarRanges.getCPtr ( IntVarRanges  obj  )  [static, protected]

Definition at line 24 of file IntVarRanges.java.

void org.gecode.IntVarRanges.finalize (  )  [protected]

Definition at line 28 of file IntVarRanges.java.

void org.gecode.IntVarRanges.delete (  ) 

Definition at line 32 of file IntVarRanges.java.

synchronized boolean org.gecode.IntVarRanges.notDone (  )  [virtual]

Test wheter this iterator is finished.

Implements org.gecode.RangeIterator.

Definition at line 46 of file IntVarRanges.java.

synchronized void org.gecode.IntVarRanges.next (  )  [virtual]

Advance to next range.

Implements org.gecode.RangeIterator.

Definition at line 50 of file IntVarRanges.java.

synchronized int org.gecode.IntVarRanges.min (  )  [virtual]

Get min of current range.

Implements org.gecode.RangeIterator.

Definition at line 54 of file IntVarRanges.java.

synchronized int org.gecode.IntVarRanges.max (  )  [virtual]

Get max of current range.

Implements org.gecode.RangeIterator.

Definition at line 58 of file IntVarRanges.java.

synchronized long org.gecode.IntVarRanges.width (  )  [virtual]

Get width of current range.

Implements org.gecode.RangeIterator.

Definition at line 62 of file IntVarRanges.java.


Member Data Documentation

Definition at line 17 of file IntVarRanges.java.


The documentation for this class was generated from the following file: