
Choices storing position More...
#include <brancher.hpp>
Public Member Functions | |
| PosChoice (const Brancher &b, unsigned int a, const Pos &p, const typename ViewSel::Choice &viewc) | |
| Initialize choice for brancher b, number of alternatives a, position p, view selection choice viewc. More... | |
| const Pos & | pos (void) const |
| Return position in array. More... | |
| const ViewSel::Choice & | viewchoice (void) const |
| Return view selection choice. More... | |
| virtual size_t | size (void) const |
| Report size occupied. More... | |
| virtual void | archive (Archive &e) const |
| Archive into e. More... | |
Public Member Functions inherited from Gecode::Choice | |
| unsigned int | alternatives (void) const |
| Return number of alternatives. More... | |
| virtual | ~Choice (void) |
| Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Choice | |
| static void * | operator new (size_t) |
| Allocate memory from heap. More... | |
| static void | operator delete (void *) |
| Return memory to heap. More... | |
Protected Member Functions inherited from Gecode::Choice | |
| Choice (const Brancher &b, const unsigned int a) | |
| Initialize for particular brancher b and alternatives a. More... | |
Choices storing position
Definition at line 144 of file brancher.hpp.
|
inline |
Initialize choice for brancher b, number of alternatives a, position p, view selection choice viewc.
Definition at line 206 of file brancher.hpp.
|
inline |
Return position in array.
Definition at line 212 of file brancher.hpp.
|
inline |
Return view selection choice.
Definition at line 217 of file brancher.hpp.
|
inlinevirtual |
Report size occupied.
Implements Gecode::Choice.
Reimplemented in Gecode::PosValChoice< ViewSel, ValSel >, and Gecode::Int::Branch::PosValuesChoice< ViewSel, View >.
Definition at line 222 of file brancher.hpp.
|
inlinevirtual |
Archive into e.
Reimplemented from Gecode::Choice.
Reimplemented in Gecode::PosValChoice< ViewSel, ValSel >, and Gecode::Int::Branch::PosValuesChoice< ViewSel, View >.
Definition at line 227 of file brancher.hpp.