Choice More...
Public Member Functions | |
Choice (const Brancher &b, int pos0, int val0) | |
virtual size_t | size (void) const |
Report size occupied. | |
Public Attributes | |
int | pos |
Position of variable. | |
int | val |
Value of variable. |
Choice
Definition at line 67 of file knights.cpp.
Warnsdorff::Choice::Choice | ( | const Brancher & | b, |
int | pos0, | ||
int | val0 | ||
) | [inline] |
Initialize choice for brancher b, position pos0, and value val0.
Definition at line 76 of file knights.cpp.
virtual size_t Warnsdorff::Choice::size | ( | void | ) | const [inline, virtual] |
Position of variable.
Definition at line 70 of file knights.cpp.
Value of variable.
Definition at line 72 of file knights.cpp.