Gecode::Int::Branch::ValCommitLq< View > Class Template Reference
[Integer value commit classes]
Value commit class for less or equal. More...
#include <branch.hh>
Public Member Functions | |
ValCommitLq (Space &home, const ValBranch< Var > &vb) | |
Constructor for initialization. | |
ValCommitLq (Space &home, ValCommitLq &vc) | |
Constructor for cloning. | |
ModEvent | commit (Space &home, unsigned int a, View 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, View 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
template<class View>
class Gecode::Int::Branch::ValCommitLq< View >
Value commit class for less or equal.
Requires
#include <gecode/int/branch.hh>
Definition at line 529 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::ValCommitLq< View >::ValCommitLq | ( | Space & | home, | |
const ValBranch< Var > & | vb | |||
) |
Constructor for initialization.
template<class View >
Gecode::Int::Branch::ValCommitLq< View >::ValCommitLq | ( | Space & | home, | |
ValCommitLq< View > & | vc | |||
) | [inline] |
Constructor for cloning.
Definition at line 73 of file val-commit.hpp.
Member Function Documentation
template<class View >
ModEvent Gecode::Int::Branch::ValCommitLq< View >::commit | ( | Space & | home, | |
unsigned int | a, | |||
View | 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.
template<class View >
NGL * Gecode::Int::Branch::ValCommitLq< View >::ngl | ( | Space & | home, | |
unsigned int | a, | |||
View | x, | |||
int | n | |||
) | const [inline] |
Create no-good literal for alternative a.
Definition at line 82 of file val-commit.hpp.
template<class View >
void Gecode::Int::Branch::ValCommitLq< View >::print | ( | const Space & | home, | |
unsigned int | a, | |||
View | 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 90 of file val-commit.hpp.
The documentation for this class was generated from the following files:
- gecode/int/branch.hh
- gecode/int/branch/val-commit.hpp