40 printf(
"Enter board width.\n");
57 printf(
"Enter board width.\n");
62 printf(
"Enter number of samples.\n");
80 printf(
"Enter number of samples.\n");
81 bool bRestart =
ReadUnsigned(nSamples, Parity::DontCare, 1);
85 printf(
"Enter lowest board size in range.\n");
90 printf(
"Enter highest board size in range.\n");
97 printf(
"This may take a while");
99 for(
UINT n=lo; n<=hi; n+=2){
119 bool bRestart =
false;
Defines, enumerated types, and typedefs.
void Time(const CTourneyDesc &t, int nThreads, int n)
Time.
bool StartGenerateTask(const CTourneyDesc &t, int nNumThreads)
void Generate(const CTourneyDesc &t, int nThreads)
Generate.
Header for the tourney and knight's tour generator CGenerator.
std::atomic_bool g_bFinished(false)
Search termination flag.
bool StartTimeTask(const CTourneyDesc &t, int nNumThreads)
unsigned int UINT
Abbreviation for unsigned integer.
bool StartMeasureTask(const CTourneyDesc &t, int nNumThreads)
Knight's tour and tourney generator.
bool StartTask(Task task, const CTourneyDesc &t, int nNumThreads)
Start task.
void Measure(const CTourneyDesc &t, int nThreads, int n)
Measure.