Range iterator for computing the complement (described by template arguments) More...
#include <ranges-compl.hpp>
Protected Member Functions | |
void | start (void) |
Initialize. | |
Protected Attributes | |
I | i |
Iterator to compute complement for. | |
Constructors and initialization | |
Compl (void) | |
Default constructor. | |
Compl (I &i) | |
Initialize with iterator i. | |
void | init (I &i) |
Initialize with iterator i. | |
Iteration control | |
void | operator++ (void) |
Move iterator to next range (if possible) |
Range iterator for computing the complement (described by template arguments)
The complement is computed with respect to a given universe set provided as template arguments (UMIN ... UMAX). The universe must always be a superset!
Gecode::Iter::Ranges::Compl::Compl | ( | void | ) | [inline] |
Default constructor.
Definition at line 139 of file ranges-compl.hpp.
Gecode::Iter::Ranges::Compl::Compl | ( | I & | i | ) | [inline] |
Initialize with iterator i.
Definition at line 143 of file ranges-compl.hpp.
void Gecode::Iter::Ranges::Compl::start | ( | void | ) | [inline, protected] |
Initialize.
Definition at line 118 of file ranges-compl.hpp.
void Gecode::Iter::Ranges::Compl::init | ( | I & | i | ) | [inline] |
Initialize with iterator i.
Reimplemented in Gecode::Set::RangesCompl.
Definition at line 149 of file ranges-compl.hpp.
void Gecode::Iter::Ranges::Compl::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible)
Definition at line 155 of file ranges-compl.hpp.
I Gecode::Iter::Ranges::Compl::i [protected] |
Iterator to compute complement for.
Definition at line 56 of file ranges-compl.hpp.