Warnsdorff::Choice Class Reference
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. |
Detailed Description
Definition at line 63 of file knights.cpp.
Constructor & Destructor Documentation
Warnsdorff::Choice::Choice | ( | const Brancher & | b, | |
int | pos0, | |||
int | val0 | |||
) | [inline] |
Initialize choice for brancher b, position pos0, and value val0.
Definition at line 72 of file knights.cpp.
Member Function Documentation
virtual size_t Warnsdorff::Choice::size | ( | void | ) | const [inline, virtual] |
Member Data Documentation
Position of variable.
Definition at line 66 of file knights.cpp.
Value of variable.
Definition at line 68 of file knights.cpp.
The documentation for this class was generated from the following file:
- examples/knights.cpp (Revision: 9848)