Choice More...
Public Member Functions | |
Choice (const Brancher &b, int pos0, int val0) | |
virtual void | archive (Archive &e) const |
Archive into e. | |
Public Member Functions inherited from Gecode::Choice | |
unsigned int | alternatives (void) const |
Return number of alternatives. | |
virtual | ~Choice (void) |
Destructor. |
Public Attributes | |
int | pos |
Position of variable. | |
int | val |
Value of variable. |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::HeapAllocated | |
static void * | operator new (size_t s) |
Memory management. | |
static void | operator delete (void *p) |
Free memory allocated from heap. | |
Protected Member Functions inherited from Gecode::Choice | |
Choice (const Brancher &b, const unsigned int a) | |
Initialize for particular brancher b and alternatives a. |
Choice
Definition at line 65 of file knights.cpp.
|
inline |
Initialize choice for brancher b, position pos0, and value val0.
Definition at line 74 of file knights.cpp.
|
inlinevirtual |
int Warnsdorff::Choice::pos |
Position of variable.
Definition at line 68 of file knights.cpp.
int Warnsdorff::Choice::val |
Value of variable.
Definition at line 70 of file knights.cpp.