
Value commit class for less or equal or greater or equal. More...
#include <branch.hh>
Public Member Functions | |
| ValCommitLqGq (Space &home, const ValBranch< Var > &vb) | |
| Constructor for initialization. | |
| ValCommitLqGq (Space &home, ValCommitLqGq &vc) | |
| Constructor for cloning. | |
| ModEvent | commit (Space &home, unsigned int a, FloatView x, int i, FloatNumBranch n) |
| Commit view x at position i to value n for alternative a. | |
| NGL * | ngl (Space &home, unsigned int a, FloatView x, FloatNumBranch n) const |
| Create no-good literal for alternative a. | |
| void | print (const Space &home, unsigned int a, FloatView x, int i, FloatNumBranch n, std::ostream &o) const |
| Print on o the alternative with view x at position i and value n. | |
Public Member Functions inherited from Gecode::ValCommit< FloatView, FloatVal > | |
| ValCommit (Space &home, const ValBranch< Var > &vb) | |
| Constructor for initialization. | |
| ValCommit (Space &home, ValCommit< View, Val > &vs) | |
| Constructor for cloning. | |
| bool | notice (void) const |
| Whether dispose must always be called (that is, notice is needed) | |
| void | dispose (Space &home) |
| Delete value commit. | |
Additional Inherited Members | |
Public Types inherited from Gecode::ValCommit< FloatView, FloatVal > | |
| typedef FloatView | View |
| View type. | |
| typedef View::VarType | Var |
| Corresponding variable type. | |
| typedef FloatVal | Val |
| Value type. | |
Value commit class for less or equal or greater or equal.
Requires
|
inline |
Constructor for initialization.
Definition at line 41 of file val-commit.hpp.
|
inline |
Constructor for cloning.
Definition at line 44 of file val-commit.hpp.
|
inline |
Commit view x at position i to value n for alternative a.
Definition at line 47 of file val-commit.hpp.
|
inline |
Create no-good literal for alternative a.
Definition at line 63 of file val-commit.hpp.
|
inline |
Print on o the alternative with view x at position i and value n.
Definition at line 67 of file val-commit.hpp.