Knight's Tour Generator
Tourneys and the Fast Generation and Obfuscation of Closed Knight's Tours
Macros | Typedefs | Enumerations
Defines.h File Reference

Defines, enumerated types, and typedefs. More...

#include "Includes.h"

Go to the source code of this file.

Macros

#define UNUSED   -1
 Contents of unused square on the chessboard.
 
#define sqr(x)   ((x)*(x))
 Squaring function.
 

Typedefs

typedef uint64_t UINT64
 Typedef of UINT64 for *NIX.
 
typedef unsigned int UINT
 Abbreviation for unsigned integer.
 

Enumerations

enum  GeneratorType {
  Unknown, Warnsdorff, TakefujiLee, DivideAndConquer,
  ConcentricBraid, FourCover
}
 Generator type. More...
 
enum  CycleType { Unknown, Tour, Tourney, TourFromTourney }
 Cycle type. More...
 
enum  Task { Unknown, Generate, Measure, Time }
 Task type. More...
 
enum  Parity { DontCare, Even, Odd, ZeroMod4 }
 Parity. More...
 

Enumeration Type Documentation

◆ CycleType

enum CycleType
strong

Type of cycles in tourney.

Definition at line 58 of file Defines.h.

◆ GeneratorType

enum GeneratorType
strong

Tourney generation algorithm.

Definition at line 47 of file Defines.h.

◆ Parity

enum Parity
strong

Even or odd parity, or don't care at all.

Definition at line 78 of file Defines.h.

◆ Task

enum Task
strong

Type of task that this program can perform.

Definition at line 68 of file Defines.h.