A Space-owned set of integer values with growable canonical range storage. More...
#include <gecode/int/growable-int-set.hh>
Public Member Functions | |
| GrowableIntSet (void) | |
| Initialize an empty set. | |
| bool | in (int value) const |
| Test membership. | |
| template<class I> | |
| void | add_r (Space &home, I added) |
| Add the ranges from a copyable, independent canonical iterator. | |
| void | update (Space &home, const GrowableIntSet &source) |
| Copy exactly the live ranges into independent storage in home. | |
| void | dispose (Space &home) |
| Return allocated storage to home. | |
Detailed Description
A Space-owned set of integer values with growable canonical range storage.
Definition at line 45 of file growable-int-set.hh.
Constructor & Destructor Documentation
◆ GrowableIntSet()
|
inline |
Initialize an empty set.
Definition at line 37 of file growable-int-set.hpp.
Member Function Documentation
◆ in()
|
inline |
Test membership.
Definition at line 83 of file growable-int-set.hpp.
◆ add_r()
|
inline |
Add the ranges from a copyable, independent canonical iterator.
Endpoints must be within Int::Limits. Mutation invalidates borrowed range iterators. The input must not refer to this set's storage.
Definition at line 117 of file growable-int-set.hpp.
◆ update()
|
inline |
Copy exactly the live ranges into independent storage in home.
Definition at line 161 of file growable-int-set.hpp.
◆ dispose()
|
inline |
Return allocated storage to home.
Definition at line 174 of file growable-int-set.hpp.
The documentation for this class was generated from the following files:
- gecode/int/growable-int-set.hh
- gecode/int/growable-int-set.hpp
