
Touched-advisor status shared by positive compact-table propagators. More...
#include <gecode/int/extensional.hh>
Public Types | |
| enum | StatusType { SINGLE = 0 , MULTIPLE = 1 , NONE = 2 , PROPAGATING = 3 } |
| Type of status. More... | |
Public Member Functions | |
| CompactStatus (StatusType t) | |
| Initialize with status t. | |
| CompactStatus (const CompactStatus &status) | |
| Copy constructor. | |
| StatusType | type (void) const |
| Return status type. | |
| bool | single (Advisor &a) const |
| Test whether only advisor a was touched. | |
| void | touched (Advisor &a) |
| Record that advisor a was touched. | |
| void | none (void) |
| Record that no advisor has been touched. | |
| void | propagating (void) |
| Record that propagation is in progress. | |
Protected Attributes | |
| ptrdiff_t | s |
| A tagged advisor pointer or a status value. | |
Touched-advisor status shared by positive compact-table propagators.
Definition at line 470 of file extensional.hh.
| enum Gecode::Int::Extensional::CompactStatus::StatusType |
Type of status.
| Enumerator | |
|---|---|
| SINGLE | A single view has been touched. |
| MULTIPLE | Multiple views have been touched. |
| NONE | No view has been touched. |
| PROPAGATING | The propagator is currently running. |
Definition at line 476 of file extensional.hh.
|
inline |
Initialize with status t.
Definition at line 147 of file compact.hpp.
|
inline |
Copy constructor.
Definition at line 152 of file compact.hpp.
|
inline |
Return status type.
Definition at line 157 of file compact.hpp.
|
inline |
Test whether only advisor a was touched.
Definition at line 163 of file compact.hpp.
|
inline |
Record that advisor a was touched.
Definition at line 170 of file compact.hpp.
|
inline |
Record that no advisor has been touched.
Definition at line 181 of file compact.hpp.
|
inline |
Record that propagation is in progress.
Definition at line 187 of file compact.hpp.
|
protected |
A tagged advisor pointer or a status value.
Definition at line 473 of file extensional.hh.