![]() |
Knight's Tour Generator
Tourneys and the Fast Generation and Obfuscation of Closed Knight's Tours
|
Code for Warnsdorff's generator CWarnsdorff. More...
Go to the source code of this file.
Variables | |
std::atomic_bool | g_bFinished |
Search termination flag. | |
MoveDeltas | g_vecDeltas |
Move deltas for all possible knight's moves. More... | |
MoveDeltas g_vecDeltas |
Move deltas (horizontal and vertical displacements) for the 8 knight's moves indexed counterclockwise from \((2, -1)\) (the origin is at top left of the board, positive \(x\) is rightwards, and positive \(y\) is downwards.
Definition at line 68 of file Helpers.cpp.