Gecode::PosChoice Class Reference
[Generic brancher based on view selection]
Choices storing position More...
#include <view.hpp>
Public Member Functions | |
PosChoice (const Brancher &b, unsigned int a, const Pos &p) | |
Initialize choice for brancher b, number of alternatives a, and position p. | |
const Pos & | pos (void) const |
Return position in array. | |
virtual void | archive (Archive &e) const |
Archive into e. | |
Protected Member Functions | |
PosChoice (const PosChoice &c) | |
Initialize. |
Detailed Description
Choices storing position
Definition at line 55 of file view.hpp.
Constructor & Destructor Documentation
Gecode::PosChoice::PosChoice | ( | const PosChoice & | c | ) | [protected] |
Initialize.
Member Function Documentation
const Pos & Gecode::PosChoice::pos | ( | void | ) | const [inline] |
void Gecode::PosChoice::archive | ( | Archive & | e | ) | const [inline, virtual] |
Archive into e.
Reimplemented from Gecode::Choice.
Reimplemented in Gecode::Int::Branch::PosValuesChoice, Gecode::Int::LDSB::LDSBChoice< Val >, and Gecode::PosValChoice< Val >.
The documentation for this class was generated from the following file:
- gecode/kernel/branch/view.hpp