Gecode::Choice Class Reference
Choice for performing commit More...
Public Member Functions
|unsigned int||alternatives (void) const|
|Return number of alternatives. |
|virtual void||archive (Archive &e) const|
|Archive into e. |
Protected Member Functions
|Choice (const Brancher &b, const unsigned int a)|
|Initialize for particular brancher b and alternatives a. |
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.
Constructor & Destructor Documentation
|Gecode::Choice::Choice||(||const Brancher &||b,|
|const unsigned int||a|
Member Function Documentation
|unsigned int Gecode::Choice::alternatives||(||void||)|| const
|void Gecode::Choice::archive||(||Archive &||e||)|| const
Archive into e.
Reimplemented in CDBF::Choice, Warnsdorff::Choice, SteelMill::SteelMillBranch::Choice, Gecode::FlatZinc::PosIntChoice, Gecode::FlatZinc::AuxVarBrancher::Choice, Gecode::Gist::StopChoice, Gecode::Int::Branch::PosValuesChoice, Gecode::Int::LDSB::LDSBChoice< Val >, Gecode::Kernel::FunctionBranch::Description, Gecode::PosValChoice< Val >, and Gecode::PosChoice.
The documentation for this class was generated from the following files: