Iterator over valid supports. More...
#include <gecode/int/extensional.hh>
Public Member Functions | |
| ValidSupports (const Compact< View, pos > &p, CTAdvisor &a) | |
| Initialize from initialized propagator. | |
| ValidSupports (const TupleSet &ts, int i, View x) | |
| Initialize during initialization. | |
| void | operator++ (void) |
| Move to next supports. | |
| bool | operator() (void) const |
| Whether there are still supports left. | |
| const BitSetData * | support (void) const |
| Return support representation. | |
| int | val (void) const |
| Return supported value. | |
Protected Member Functions | |
| void | find (void) |
| Find a new value (only for negative case). | |
Protected Attributes | |
| const unsigned int | n_words |
| Number of words. | |
| int | max_value |
| Maximal value. | |
| ViewRanges< View > | view_ranges |
| Range iterator. | |
| const Range * | support_range |
| Support iterator. | |
| const Range * | last_support_range |
| The last range. | |
| int | value |
| The value. | |
| const BitSetData * | support_words |
| The value's support. | |
Detailed Description
class Gecode::Int::Extensional::Compact< View, pos >::ValidSupports
Iterator over valid supports.
Definition at line 520 of file extensional.hh.
Constructor & Destructor Documentation
◆ ValidSupports() [1/2]
|
inline |
Initialize from initialized propagator.
Definition at line 469 of file compact.hpp.
◆ ValidSupports() [2/2]
|
inline |
Initialize during initialization.
Definition at line 485 of file compact.hpp.
Member Function Documentation
◆ find()
|
inlineprotected |
Find a new value (only for negative case).
Definition at line 438 of file compact.hpp.
◆ operator++()
|
inline |
Move to next supports.
Definition at line 501 of file compact.hpp.
◆ operator()()
|
inline |
Whether there are still supports left.
Definition at line 531 of file compact.hpp.
◆ support()
|
inline |
Return support representation.
Definition at line 536 of file compact.hpp.
◆ val()
|
inline |
Return supported value.
Definition at line 542 of file compact.hpp.
Member Data Documentation
◆ n_words
|
protected |
Number of words.
Definition at line 523 of file extensional.hh.
◆ max_value
|
protected |
Maximal value.
Definition at line 525 of file extensional.hh.
◆ view_ranges
|
protected |
Range iterator.
Definition at line 527 of file extensional.hh.
◆ support_range
|
protected |
Support iterator.
Definition at line 529 of file extensional.hh.
◆ last_support_range
|
protected |
The last range.
Definition at line 531 of file extensional.hh.
◆ value
|
protected |
The value.
Definition at line 533 of file extensional.hh.
◆ support_words
|
protected |
The value's support.
Definition at line 535 of file extensional.hh.
The documentation for this class was generated from the following files:
- gecode/int/extensional.hh
- gecode/int/extensional/compact.hpp
