org.gecode.IntViewRanges Class Reference
[Integer views]
Inherits org.gecode.RangeIterator.
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 | ) |
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
boolean org.gecode.IntViewRanges.swigCMemOwn [protected] |
Definition at line 17 of file IntViewRanges.java.
The documentation for this class was generated from the following file:
- org/gecode/IntViewRanges.java
