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

org.gecode.IntViewRanges Class Reference
[Integer views]

Inherits org.gecode.RangeIterator.

List of all members.


Detailed Description

Range iterator for integer variable views

Definition at line 15 of file IntViewRanges.java.

Public Member Functions

void delete ()
 IntViewRanges (IntVarView 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

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

Static Protected Member Functions

static long getCPtr (IntViewRanges obj)

Protected Attributes

boolean swigCMemOwn


Constructor & Destructor Documentation

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

Definition at line 19 of file IntViewRanges.java.

org.gecode.IntViewRanges.IntViewRanges ( IntVarView  iv  ) 

Initialize iterator over the domain of iv.

Definition at line 42 of file IntViewRanges.java.


Member Function Documentation

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

Definition at line 24 of file IntViewRanges.java.

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

Definition at line 28 of file IntViewRanges.java.

void org.gecode.IntViewRanges.delete (  ) 

Definition at line 32 of file IntViewRanges.java.

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

Test wheter this iterator is finished.

Implements org.gecode.RangeIterator.

Definition at line 46 of file IntViewRanges.java.

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

Advance to next range.

Implements org.gecode.RangeIterator.

Definition at line 50 of file IntViewRanges.java.

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

Get min of current range.

Implements org.gecode.RangeIterator.

Definition at line 54 of file IntViewRanges.java.

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

Get max of current range.

Implements org.gecode.RangeIterator.

Definition at line 58 of file IntViewRanges.java.

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

Get width of current range.

Implements org.gecode.RangeIterator.

Definition at line 62 of file IntViewRanges.java.


Member Data Documentation

Definition at line 17 of file IntViewRanges.java.


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