A complement iterator spezialized for the BndSet limits. More...
#include <var-imp.hpp>
Constructors and initialization | |
RangesCompl (void) | |
Default constructor. More... | |
RangesCompl (I &i) | |
Initialize with iterator i. More... | |
void | init (I &i) |
Initialize with iterator i. More... | |
Additional Inherited Members | |
![]() | |
Compl (void) | |
Default constructor. More... | |
Compl (I &i) | |
Initialize with iterator i. More... | |
void | init (I &i) |
Initialize with iterator i. More... | |
void | operator++ (void) |
Move iterator to next range (if possible) More... | |
![]() | |
MinMax (void) | |
Default constructor. More... | |
MinMax (int min, int max) | |
Initialize with range min to max. More... | |
bool | operator() (void) const |
Test whether iterator is still at a range or done. More... | |
int | min (void) const |
Return smallest value of range. More... | |
int | max (void) const |
Return largest value of range. More... | |
unsigned int | width (void) const |
Return width of range (distance between minimum and maximum) More... | |
![]() | |
void | start (void) |
Initialize. More... | |
![]() | |
void | finish (void) |
Set range such that iteration stops More... | |
![]() | |
I | i |
Iterator to compute complement for. More... | |
![]() | |
int | mi |
Minimum of current range. More... | |
int | ma |
Maximum of current range. More... | |
A complement iterator spezialized for the BndSet limits.
Definition at line 296 of file var-imp.hpp.
Gecode::Set::RangesCompl< I >::RangesCompl | ( | void | ) |
Default constructor.
Definition at line 409 of file integerset.hpp.
Gecode::Set::RangesCompl< I >::RangesCompl | ( | I & | i | ) |
Initialize with iterator i.
Definition at line 412 of file integerset.hpp.
void Gecode::Set::RangesCompl< I >::init | ( | I & | i | ) |
Initialize with iterator i.
Definition at line 418 of file integerset.hpp.