Range iterator for intersection for any number of iterators. More...
#include <ranges-inter.hpp>
Protected Attributes | |
I * | is |
Array of iterators. | |
int | n |
Number of iterators. | |
Constructors and initialization | |
NaryInter (void) | |
Default constructor. | |
NaryInter (I *i, int n) | |
Initialize with n iterators in i. | |
void | init (I *i, int n) |
Initialize with n iterators in i. | |
Iteration control | |
void | operator++ (void) |
Move iterator to next range (if possible) |
Range iterator for intersection for any number of iterators.
Definition at line 79 of file ranges-inter.hpp.
Gecode::Iter::Ranges::NaryInter< I >::NaryInter | ( | void | ) | [inline] |
Default constructor.
Definition at line 187 of file ranges-inter.hpp.
Gecode::Iter::Ranges::NaryInter< I >::NaryInter | ( | I * | i, |
int | n | ||
) | [inline] |
Initialize with n iterators in i.
Definition at line 191 of file ranges-inter.hpp.
void Gecode::Iter::Ranges::NaryInter< I >::init | ( | I * | i, |
int | n | ||
) | [inline] |
Initialize with n iterators in i.
Definition at line 203 of file ranges-inter.hpp.
void Gecode::Iter::Ranges::NaryInter< I >::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible)
Definition at line 154 of file ranges-inter.hpp.
I* Gecode::Iter::Ranges::NaryInter< I >::is [protected] |
Array of iterators.
Definition at line 82 of file ranges-inter.hpp.
int Gecode::Iter::Ranges::NaryInter< I >::n [protected] |
Number of iterators.
Definition at line 84 of file ranges-inter.hpp.