Gecode::Iter::Ranges::Map< I, M, false > Class Template Reference
Inherits Gecode::Iter::Ranges::MinMax.
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.icc.
Constructors and initialization | |
Map (void) | |
Default constructor. | |
Map (I &i) | |
Initialize with ranges from i. | |
Map (I &i, const M &m) | |
Initialize with ranges from i and map m. | |
void | init (I &i) |
Initialize with ranges from i. | |
void | init (I &i, const M &m) |
Initialize with ranges from i and map m. | |
Iteration control | |
void | operator++ (void) |
Move iterator to next range (if possible). | |
Protected Member Functions | |
void | next (void) |
Find next mapped range. | |
Protected Attributes | |
I | i |
Input range. | |
M | m |
Map for ranges. |
Constructor & Destructor Documentation
template<class I, class M>
Gecode::Iter::Ranges::Map< I, M, false >::Map | ( | void | ) | [inline] |
template<class I, class M>
Gecode::Iter::Ranges::Map< I, M, false >::Map | ( | I & | i | ) | [inline] |
template<class I, class M>
Gecode::Iter::Ranges::Map< I, M, false >::Map | ( | I & | i, | |
const M & | m | |||
) | [inline] |
Member Function Documentation
template<class I, class M>
void Gecode::Iter::Ranges::Map< I, M, false >::next | ( | void | ) | [inline, protected] |
template<class I, class M>
void Gecode::Iter::Ranges::Map< I, M, false >::init | ( | I & | i | ) | [inline] |
template<class I, class M>
void Gecode::Iter::Ranges::Map< I, M, false >::init | ( | I & | i, | |
const M & | m | |||
) | [inline] |
template<class I, class M>
void Gecode::Iter::Ranges::Map< I, M, false >::operator++ | ( | void | ) | [inline] |
Member Data Documentation
template<class I, class M>
I Gecode::Iter::Ranges::Map< I, M, false >::i [protected] |
template<class I, class M>
M Gecode::Iter::Ranges::Map< I, M, false >::m [protected] |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-map.icc (Revision: 7285)