Gecode::Iter::Ranges::Cache Class Reference
[Range iterators]
Range iterator cache More...
#include <ranges-cache.hpp>
Constructors and initialization | |
| |
Cache (void) | |
Default constructor. | |
Cache (const Cache &m) | |
Copy constructor. | |
template<class I > | |
Cache (Region &r, I &i) | |
Initialize with ranges from i. | |
template<class I > | |
void | init (Region &r, I &i) |
Initialize with ranges from i. | |
Cache & | operator= (const Cache &m) |
Assignment operator (both caches must be allocated from the same region). |
Detailed Description
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 45 of file ranges-cache.hpp.
Constructor & Destructor Documentation
Gecode::Iter::Ranges::Cache::Cache | ( | void | ) | [inline] |
Default constructor.
Definition at line 66 of file ranges-cache.hpp.
Gecode::Iter::Ranges::Cache::Cache | ( | const Cache & | m | ) | [inline] |
Copy constructor.
Definition at line 69 of file ranges-cache.hpp.
template<class I >
Gecode::Iter::Ranges::Cache::Cache | ( | Region & | r, | |
I & | i | |||
) | [inline] |
Initialize with ranges from i.
Definition at line 90 of file ranges-cache.hpp.
Member Function Documentation
template<class I >
void Gecode::Iter::Ranges::Cache::init | ( | Region & | r, | |
I & | i | |||
) | [inline] |
Initialize with ranges from i.
Definition at line 74 of file ranges-cache.hpp.
Assignment operator (both caches must be allocated from the same region).
Definition at line 95 of file ranges-cache.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-cache.hpp