Gecode::Set::Branch::ValCommitExc Class Reference
[Set value commit classes]
Value commit class for exclusion. More...
#include <branch.hh>
Public Member Functions | |
ValCommitExc (Space &home, const ValBranch &vb) | |
Constructor for initialization. | |
ValCommitExc (Space &home, bool shared, ValCommitExc &vc) | |
Constructor for cloning. | |
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. | |
NGL * | ngl (Space &home, unsigned int a, View x, int n) const |
Create no-good literal for alternative a. | |
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. |
Detailed Description
Value commit class for exclusion.
Requires
#include <gecode/set/branch.hh>
Definition at line 362 of file branch.hh.
Constructor & Destructor Documentation
Constructor for initialization.
Definition at line 71 of file val-commit.hpp.
Gecode::Set::Branch::ValCommitExc::ValCommitExc | ( | Space & | home, | |
bool | shared, | |||
ValCommitExc & | vc | |||
) | [inline] |
Constructor for cloning.
Definition at line 74 of file val-commit.hpp.
Member Function Documentation
ModEvent Gecode::Set::Branch::ValCommitExc::commit | ( | Space & | home, | |
unsigned int | a, | |||
SetView | x, | |||
int | i, | |||
int | n | |||
) | [inline] |
Commit view x at position i to value n for alternative a.
Definition at line 77 of file val-commit.hpp.
NGL * Gecode::Set::Branch::ValCommitExc::ngl | ( | Space & | home, | |
unsigned int | a, | |||
View | x, | |||
int | n | |||
) | const [inline] |
Create no-good literal for alternative a.
Definition at line 81 of file val-commit.hpp.
void Gecode::Set::Branch::ValCommitExc::print | ( | const Space & | home, | |
unsigned int | a, | |||
SetView | x, | |||
int | i, | |||
int | n, | |||
std::ostream & | o | |||
) | const [inline] |
Print on o the alternative with view x at position i and value n.
Definition at line 88 of file val-commit.hpp.
The documentation for this class was generated from the following files:
- gecode/set/branch.hh (Revision: 13801)
- gecode/set/branch/val-commit.hpp (Revision: 13801)