Value commit class for inclusion. More...
#include <branch.hh>
Public Member Functions | |
ValCommitInc (Space &home, const ValBranch &vb) | |
Constructor for initialization. | |
ValCommitInc (Space &home, bool shared, ValCommitInc &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. |
Gecode::Set::Branch::ValCommitInc::ValCommitInc | ( | Space & | home, |
const ValBranch & | vb | ||
) | [inline] |
Constructor for initialization.
Definition at line 47 of file val-commit.hpp.
Gecode::Set::Branch::ValCommitInc::ValCommitInc | ( | Space & | home, |
bool | shared, | ||
ValCommitInc & | vc | ||
) | [inline] |
Constructor for cloning.
Definition at line 50 of file val-commit.hpp.
ModEvent Gecode::Set::Branch::ValCommitInc::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 53 of file val-commit.hpp.
NGL * Gecode::Set::Branch::ValCommitInc::ngl | ( | Space & | home, |
unsigned int | a, | ||
View | x, | ||
int | n | ||
) | const [inline] |
Create no-good literal for alternative a.
Definition at line 57 of file val-commit.hpp.
void Gecode::Set::Branch::ValCommitInc::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 64 of file val-commit.hpp.