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. |
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 49 of file ranges-cache.hpp.
Constructor & Destructor Documentation
Gecode::Iter::Ranges::Cache::Cache | ( | void | ) | [inline] |
Default constructor.
Definition at line 70 of file ranges-cache.hpp.
Gecode::Iter::Ranges::Cache::Cache | ( | const Cache & | m | ) | [inline] |
Copy constructor.
Definition at line 73 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 94 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 78 of file ranges-cache.hpp.
Assignment operator.
Definition at line 99 of file ranges-cache.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-cache.hpp (Revision: 12253)