Example: n-Knight's tour (simple model) More...
Public Member Functions | |
KnightsReified (const SizeOptions &opt) | |
KnightsReified (bool share, KnightsReified &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Copy during cloning. |
Example: n-Knight's tour (simple model)
Fill an n times n chess board with knight's moves such that the knight does a full tour (last move reaches first move again). The formulation is due to Gert Smolka.
Definition at line 258 of file knights.cpp.
KnightsReified::KnightsReified | ( | const SizeOptions & | opt | ) | [inline] |
Definition at line 260 of file knights.cpp.
KnightsReified::KnightsReified | ( | bool | share, |
KnightsReified & | s | ||
) | [inline] |
Constructor for cloning s.
Definition at line 293 of file knights.cpp.
virtual Space* KnightsReified::copy | ( | bool | share | ) | [inline, virtual] |
Copy during cloning.
Definition at line 296 of file knights.cpp.