
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. | |
Iterator over valid supports.
Definition at line 520 of file extensional.hh.
|
inline |
Initialize from initialized propagator.
Definition at line 469 of file compact.hpp.
|
inline |
Initialize during initialization.
Definition at line 485 of file compact.hpp.
|
inlineprotected |
Find a new value (only for negative case).
Definition at line 438 of file compact.hpp.
|
inline |
Move to next supports.
Definition at line 501 of file compact.hpp.
|
inline |
Whether there are still supports left.
Definition at line 531 of file compact.hpp.
|
inline |
Return support representation.
Definition at line 536 of file compact.hpp.
|
inline |
Return supported value.
Definition at line 542 of file compact.hpp.
|
protected |
Number of words.
Definition at line 523 of file extensional.hh.
|
protected |
Maximal value.
Definition at line 525 of file extensional.hh.
|
protected |
Range iterator.
Definition at line 527 of file extensional.hh.
|
protected |
Support iterator.
Definition at line 529 of file extensional.hh.
|
protected |
The last range.
Definition at line 531 of file extensional.hh.
|
protected |
The value.
Definition at line 533 of file extensional.hh.
|
protected |
The value's support.
Definition at line 535 of file extensional.hh.