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. |
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.
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.
Gecode::Iter::Ranges::Cache::Cache | ( | Region & | r, |
I & | i | ||
) | [inline] |
Initialize with ranges from i.
Definition at line 94 of file ranges-cache.hpp.
void Gecode::Iter::Ranges::Cache::init | ( | Region & | r, |
I & | i | ||
) |
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.