KnightsCircuit Class Reference
[Scripts for problems]
Inherits Knights.
Detailed Description
Example: n-Knights tour (Model using Circuit)Fill an n times n chess board with knights such that the knights do a full tour by knights move (last knight reaches first knight again).
Definition at line 173 of file knights.cc.
Public Member Functions | |
KnightsCircuit (const SizeOptions &opt) | |
KnightsCircuit (bool share, KnightsCircuit &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Copy during cloning. |
Constructor & Destructor Documentation
KnightsCircuit::KnightsCircuit | ( | const SizeOptions & | opt | ) | [inline] |
Definition at line 175 of file knights.cc.
KnightsCircuit::KnightsCircuit | ( | bool | share, | |
KnightsCircuit & | s | |||
) | [inline] |
Member Function Documentation
virtual Space* KnightsCircuit::copy | ( | bool | share | ) | [inline, virtual] |
The documentation for this class was generated from the following file:
- examples/knights.cc (Revision: 5524)