
Enumerations | |
| enum | Gecode::Iter::Ranges::CompareStatus { Gecode::Iter::Ranges::CS_SUBSET, Gecode::Iter::Ranges::CS_DISJOINT, Gecode::Iter::Ranges::CS_NONE } |
| Comapre two iterators with each other. More... | |
Functions | |
| template<class I > | |
| unsigned int | Gecode::Iter::Ranges::size (I &i) |
| Size of all ranges of range iterator i. More... | |
| template<class I , class J > | |
| bool | Gecode::Iter::Ranges::equal (I &i, J &j) |
| Check whether range iterators i and j are equal. More... | |
| template<class I , class J > | |
| bool | Gecode::Iter::Ranges::subset (I &i, J &j) |
| Check whether range iterator i is subset of range iterator j. More... | |
| template<class I , class J > | |
| bool | Gecode::Iter::Ranges::disjoint (I &i, J &j) |
| Check whether range iterators i and j are disjoint. More... | |
| template<class I , class J > | |
| CompareStatus | Gecode::Iter::Ranges::compare (I &i, J &j) |
| Check whether range iterator i is a subset of j, or whether they are disjoint. More... | |
Comapre two iterators with each other.
| Enumerator | |
|---|---|
| CS_SUBSET |
First is subset of second iterator. |
| CS_DISJOINT |
Intersection is empty. |
| CS_NONE |
Neither of the above. |
Definition at line 64 of file ranges-operations.hpp.
|
inline |
Size of all ranges of range iterator i.
Definition at line 78 of file ranges-operations.hpp.
|
inline |
Check whether range iterators i and j are equal.
Definition at line 88 of file ranges-operations.hpp.
|
inline |
Check whether range iterator i is subset of range iterator j.
Definition at line 101 of file ranges-operations.hpp.
|
inline |
Check whether range iterators i and j are disjoint.
Definition at line 116 of file ranges-operations.hpp.
|
inline |
Check whether range iterator i is a subset of j, or whether they are disjoint.
Definition at line 131 of file ranges-operations.hpp.