Generated on Wed Nov 5 2014 05:18:44 for Gecode by doxygen 1.7.6.1
Gecode::Iter::Ranges::Compl< UMIN, UMAX, I > Class Template Reference

Range iterator for computing the complement (described by template arguments) More...

#include <ranges-compl.hpp>

List of all members.

Protected Member Functions

void start (void)
 Initialize.

Protected Attributes

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)

Detailed Description

template<int UMIN, int UMAX, class I>
class Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >

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!

Definition at line 53 of file ranges-compl.hpp.


Constructor & Destructor Documentation

template<int UMIN, int UMAX, class I >
Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >::Compl ( void  ) [inline]

Default constructor.

Definition at line 139 of file ranges-compl.hpp.

template<int UMIN, int UMAX, class I>
Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >::Compl ( I &  i) [inline]

Initialize with iterator i.

Definition at line 143 of file ranges-compl.hpp.


Member Function Documentation

template<int UMIN, int UMAX, class I >
void Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >::start ( void  ) [inline, protected]

Initialize.

Definition at line 118 of file ranges-compl.hpp.

template<int UMIN, int UMAX, class I>
void Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >::init ( I &  i) [inline]
template<int UMIN, int UMAX, class I >
void Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >::operator++ ( void  ) [inline]

Move iterator to next range (if possible)

Definition at line 155 of file ranges-compl.hpp.


Member Data Documentation

template<int UMIN, int UMAX, class I>
I Gecode::Iter::Ranges::Compl< UMIN, UMAX, I >::i [protected]

Iterator to compute complement for.

Definition at line 56 of file ranges-compl.hpp.


The documentation for this class was generated from the following file: