
Class for assigning zero. More...
#include <branch.hh>
Public Member Functions | |
| AssignValZero (void) | |
| Default constructor. | |
| AssignValZero (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
Public Member Functions inherited from Gecode::Int::Branch::ValZeroOne< View > | |
| ValZeroOne (void) | |
| Default constructor. | |
| ValZeroOne (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
| NoValue | val (Space &home, View x) const |
| Return no value of view x. | |
| ModEvent | tell (Space &home, unsigned int a, View x, NoValue n) |
Tell (a = 0) or (a = 1) | |
Public Member Functions inherited from Gecode::ValSelBase< View, NoValue > | |
| ValSelBase (void) | |
| Default constructor. | |
| ValSelBase (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
| EmptyValSelChoice | choice (Space &home) |
| Return choice. | |
| EmptyValSelChoice | choice (const Space &home, Archive &e) |
| Return choice. | |
| void | commit (Space &home, const EmptyValSelChoice &c, unsigned a) |
| Commit to choice. | |
| void | update (Space &home, bool share, ValSelBase &vs) |
| Updating during cloning. | |
| void | dispose (Space &home) |
| Delete value selection. | |
Static Public Attributes | |
| static const unsigned int | alternatives = 1 |
| Number of alternatives. | |
Class for assigning zero.
|
inline |
Default constructor.
Definition at line 219 of file select-val.hpp.
|
inline |
Constructor for initialization.
Definition at line 222 of file select-val.hpp.
|
static |
Number of alternatives.
Reimplemented from Gecode::ValSelBase< View, NoValue >.