Gecode::Iter::Ranges::Cache< I > Class Template Reference
Range iterator cache More...
#include <ranges-cache.hpp>
Constructors and initialization | |
Cache (void) | |
Default constructor. | |
Cache (const Cache &m) | |
Copy constructor. | |
Cache (Region &r, I &i) | |
Initialize with ranges from i. | |
void | init (Region &r, I &i) |
Initialize with ranges from i. | |
Cache & | operator= (const Cache &m) |
Assignment operator. |
Detailed Description
template<class I>
class Gecode::Iter::Ranges::Cache< I >
Range iterator cache
Allows to iterate the ranges as defined by the input iterator several times provided the Cache is reset by the reset member function.
Definition at line 50 of file ranges-cache.hpp.
Constructor & Destructor Documentation
template<class I >
Gecode::Iter::Ranges::Cache< I >::Cache | ( | void | ) | [inline] |
Default constructor.
Definition at line 70 of file ranges-cache.hpp.
template<class I >
Gecode::Iter::Ranges::Cache< I >::Cache | ( | const Cache< I > & | m | ) | [inline] |
Copy constructor.
Definition at line 74 of file ranges-cache.hpp.
template<class I >
Gecode::Iter::Ranges::Cache< I >::Cache | ( | Region & | r, |
I & | i | ||
) | [inline] |
Initialize with ranges from i.
Definition at line 95 of file ranges-cache.hpp.
Member Function Documentation
template<class I >
void Gecode::Iter::Ranges::Cache< I >::init | ( | Region & | r, |
I & | i | ||
) |
Initialize with ranges from i.
Definition at line 79 of file ranges-cache.hpp.
template<class I >
Cache< I > & Gecode::Iter::Ranges::Cache< I >::operator= | ( | const Cache< I > & | m | ) | [inline] |
Assignment operator.
Definition at line 101 of file ranges-cache.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-cache.hpp (Revision: 11292)