Generated on Mon Jun 29 2015 17:25:32 for Gecode by doxygen 1.8.5
Gecode::Iter::Ranges::Map< I, M, false > Class Template Reference

Specialized mapping of ranges for non-strict maps. More...

#include <ranges-map.hpp>

Protected Member Functions

void next (void)
 Find next mapped range. More...
 
- Protected Member Functions inherited from Gecode::Iter::Ranges::MinMax
void finish (void)
 Set range such that iteration stops More...
 

Protected Attributes

i
 Input range. More...
 
m
 Map for ranges. More...
 
- Protected Attributes inherited from Gecode::Iter::Ranges::MinMax
int mi
 Minimum of current range. More...
 
int ma
 Maximum of current range. More...
 

Constructors and initialization

 Map (void)
 Default constructor. More...
 
 Map (I &i)
 Initialize with ranges from i. More...
 
 Map (I &i, const M &m)
 Initialize with ranges from i and map m. More...
 
void init (I &i)
 Initialize with ranges from i. More...
 
void init (I &i, const M &m)
 Initialize with ranges from i and map m. More...
 

Iteration control

void operator++ (void)
 Move iterator to next range (if possible) More...
 

Detailed Description

template<class I, class M>
class Gecode::Iter::Ranges::Map< I, M, false >

Specialized mapping of ranges for non-strict maps.

Definition at line 86 of file ranges-map.hpp.

Constructor & Destructor Documentation

template<class I , class M >
Gecode::Iter::Ranges::Map< I, M, false >::Map ( void  )
inline

Default constructor.

Definition at line 161 of file ranges-map.hpp.

template<class I , class M >
Gecode::Iter::Ranges::Map< I, M, false >::Map ( I &  i)
inline

Initialize with ranges from i.

Definition at line 191 of file ranges-map.hpp.

template<class I , class M >
Gecode::Iter::Ranges::Map< I, M, false >::Map ( I &  i,
const M &  m 
)
inline

Initialize with ranges from i and map m.

Definition at line 196 of file ranges-map.hpp.

Member Function Documentation

template<class I , class M >
void Gecode::Iter::Ranges::Map< I, M, false >::next ( void  )
inlineprotected

Find next mapped range.

Definition at line 165 of file ranges-map.hpp.

template<class I , class M >
void Gecode::Iter::Ranges::Map< I, M, false >::init ( I &  i)
inline

Initialize with ranges from i.

Definition at line 180 of file ranges-map.hpp.

template<class I , class M >
void Gecode::Iter::Ranges::Map< I, M, false >::init ( I &  i,
const M &  m 
)
inline

Initialize with ranges from i and map m.

Definition at line 185 of file ranges-map.hpp.

template<class I , class M >
void Gecode::Iter::Ranges::Map< I, M, false >::operator++ ( void  )
inline

Move iterator to next range (if possible)

Definition at line 202 of file ranges-map.hpp.

Member Data Documentation

template<class I , class M >
I Gecode::Iter::Ranges::Map< I, M, false >::i
protected

Input range.

Definition at line 89 of file ranges-map.hpp.

template<class I , class M >
M Gecode::Iter::Ranges::Map< I, M, false >::m
protected

Map for ranges.

Definition at line 91 of file ranges-map.hpp.


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