- Gecode
- Choice

Choice for performing commit More...
#include <core.hpp>
Public Member Functions | |
| unsigned int | alternatives (void) const |
| Return number of alternatives. More... | |
| virtual | ~Choice (void) |
| Destructor. More... | |
| virtual void | archive (Archive &e) const |
| Archive into e. More... | |
Protected Member Functions | |
| Choice (const Brancher &b, const unsigned int a) | |
| Initialize for particular brancher b and alternatives a. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::HeapAllocated | |
| static void * | operator new (size_t s) |
| Memory management. More... | |
| static void | operator delete (void *p) |
| Free memory allocated from heap. More... | |
Choice for performing commit
Must be refined by inheritance such that the information stored inside a choice is sufficient to redo a commit performed by a particular brancher.
|
inlineprotected |
|
inlinevirtual |
|
inline |
|
virtual |
Archive into e.
Reimplemented in Gecode::PosChoice, Gecode::PosValChoice< Val >, Gecode::Kernel::FunctionBranch::Description, Gecode::Int::LDSB::LDSBChoice< Val >, Gecode::Int::Branch::PosValuesChoice, Gecode::Gist::StopChoice, Gecode::FlatZinc::AuxVarBrancher::Choice, Gecode::FlatZinc::PosIntChoice, SteelMill::SteelMillBranch::Choice, Warnsdorff::Choice, and CDBF::Choice.