Choice More...
Public Member Functions | |
Choice (const Brancher &b, int pos0, int val0) | |
virtual size_t | size (void) const |
Report size occupied. More... | |
virtual void | archive (Archive &e) const |
Archive into e. More... | |
![]() | |
unsigned int | alternatives (void) const |
Return number of alternatives. More... | |
virtual | ~Choice (void) |
Destructor. More... | |
Public Attributes | |
int | pos |
Position of variable. More... | |
int | val |
Value of variable. More... | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t) |
Allocate memory from heap. More... | |
static void | operator delete (void *) |
Return memory to heap. More... | |
![]() | |
Choice (const Brancher &b, const unsigned int a) | |
Initialize for particular brancher b and alternatives a. More... | |
Choice
Definition at line 69 of file knights.cpp.
|
inline |
Initialize choice for brancher b, position pos0, and value val0.
Definition at line 78 of file knights.cpp.
|
inlinevirtual |
|
inlinevirtual |
int Warnsdorff::Choice::pos |
Position of variable.
Definition at line 72 of file knights.cpp.
int Warnsdorff::Choice::val |
Value of variable.
Definition at line 74 of file knights.cpp.