Gecode::Iter::Ranges::NaryInter Class Reference
[Range iterators]
Range iterator for intersection of iterators. More...
#include <ranges-inter.hpp>
Protected Attributes | |
| RangeList * | f |
| Freelist. | |
Constructors and initialization | |
|
| |
| NaryInter (void) | |
| Default constructor. | |
| template<class I > | |
| NaryInter (Region &r, I &i) | |
| Initialize with single iterator i. | |
| template<class I , class J > | |
| NaryInter (Region &r, I &i, J &j) | |
| Initialize with iterators i and j. | |
| template<class I > | |
| NaryInter (Region &r, I *i, int n) | |
| Initialize with n iterators in i. | |
| template<class I > | |
| void | init (Region &r, I &i) |
| Initialize with single iterator i. | |
| template<class I , class J > | |
| void | init (Region &r, I &i, J &j) |
| Initialize with iterators i and j. | |
| template<class I > | |
| void | init (Region &r, I *i, int n) |
| Initialize with n iterators in i. | |
| template<class I > | |
| void | operator&= (I &i) |
| Add iterator i. | |
| NaryInter & | operator= (const NaryInter &m) |
| Assignment operator (both iterators must be allocated from the same region). | |
Detailed Description
Range iterator for intersection of iterators.
Definition at line 74 of file ranges-inter.hpp.
Constructor & Destructor Documentation
| Gecode::Iter::Ranges::NaryInter::NaryInter | ( | void | ) | [inline] |
Default constructor.
Definition at line 160 of file ranges-inter.hpp.
| Gecode::Iter::Ranges::NaryInter::NaryInter | ( | Region & | r, | |
| I & | i | |||
| ) | [inline] |
Initialize with single iterator i.
Definition at line 240 of file ranges-inter.hpp.
| Gecode::Iter::Ranges::NaryInter::NaryInter | ( | Region & | r, | |
| I & | i, | |||
| J & | j | |||
| ) | [inline] |
Initialize with iterators i and j.
Definition at line 245 of file ranges-inter.hpp.
| Gecode::Iter::Ranges::NaryInter::NaryInter | ( | Region & | r, | |
| I * | i, | |||
| int | n | |||
| ) | [inline] |
Initialize with n iterators in i.
Definition at line 250 of file ranges-inter.hpp.
Member Function Documentation
| void Gecode::Iter::Ranges::NaryInter::init | ( | Region & | r, | |
| I & | i | |||
| ) | [inline] |
Initialize with single iterator i.
Definition at line 164 of file ranges-inter.hpp.
| void Gecode::Iter::Ranges::NaryInter::init | ( | Region & | r, | |
| I & | i, | |||
| J & | j | |||
| ) | [inline] |
Initialize with iterators i and j.
Definition at line 172 of file ranges-inter.hpp.
| void Gecode::Iter::Ranges::NaryInter::init | ( | Region & | r, | |
| I * | i, | |||
| int | n | |||
| ) | [inline] |
Initialize with n iterators in i.
Definition at line 197 of file ranges-inter.hpp.
| void Gecode::Iter::Ranges::NaryInter::operator&= | ( | I & | i | ) | [inline] |
Add iterator i.
Definition at line 256 of file ranges-inter.hpp.
Assignment operator (both iterators must be allocated from the same region).
Definition at line 297 of file ranges-inter.hpp.
Member Data Documentation
RangeList* Gecode::Iter::Ranges::NaryInter::f [protected] |
Freelist.
Definition at line 77 of file ranges-inter.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-inter.hpp
