
Value commit class for exclusion. More...
#include <branch.hh>
Public Member Functions | |
| ValCommitExc (Space &home, const ValBranch &vb) | |
| Constructor for initialization. More... | |
| ValCommitExc (Space &home, bool shared, ValCommitExc &vc) | |
| Constructor for cloning. More... | |
| ModEvent | commit (Space &home, unsigned int a, SetView x, int i, int n) |
| Commit view x at position i to value n for alternative a. More... | |
| NGL * | ngl (Space &home, unsigned int a, View x, int n) const |
| Create no-good literal for alternative a. More... | |
| void | print (const Space &home, unsigned int a, SetView x, int i, int n, std::ostream &o) const |
| Print on o the alternative with view x at position i and value n. More... | |
Public Member Functions inherited from Gecode::ValCommit< SetView, int > | |
| ValCommit (Space &home, const ValBranch &vb) | |
| Constructor for initialization. More... | |
| ValCommit (Space &home, bool shared, ValCommit< View, Val > &vs) | |
| Constructor for cloning. More... | |
| bool | notice (void) const |
| Whether dispose must always be called (that is, notice is needed) More... | |
| void | dispose (Space &home) |
| Delete value commit. More... | |
Additional Inherited Members | |
Public Types inherited from Gecode::ValCommit< SetView, int > | |
| typedef SetView | View |
| View type. More... | |
| typedef int | Val |
| Value type. More... | |
Constructor for initialization.
Definition at line 71 of file val-commit.hpp.
|
inline |
Constructor for cloning.
Definition at line 74 of file val-commit.hpp.
|
inline |
Commit view x at position i to value n for alternative a.
Definition at line 77 of file val-commit.hpp.
|
inline |
Create no-good literal for alternative a.
Definition at line 81 of file val-commit.hpp.
|
inline |
Print on o the alternative with view x at position i and value n.
Definition at line 88 of file val-commit.hpp.