Choices storing position
More...
#include <view.hpp>
|
| | 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.
|
| |
| unsigned int | alternatives (void) const |
| | Return number of alternatives.
|
| |
| virtual | ~Choice (void) |
| | Destructor.
|
| |
Choices storing position
Definition at line 55 of file view.hpp.
◆ PosChoice() [1/2]
| Gecode::PosChoice::PosChoice |
( |
const PosChoice & |
c | ) |
|
|
protected |
◆ PosChoice() [2/2]
| Gecode::PosChoice::PosChoice |
( |
const Brancher & |
b, |
|
|
unsigned int |
a, |
|
|
const Pos & |
p |
|
) |
| |
|
inline |
Initialize choice for brancher b, number of alternatives a, and position p.
Definition at line 123 of file view.hpp.
◆ pos()
| const Pos & Gecode::PosChoice::pos |
( |
void |
| ) |
const |
|
inline |
Return position in array.
Definition at line 126 of file view.hpp.
◆ archive()
| void Gecode::PosChoice::archive |
( |
Archive & |
e | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: