42 const int nNumThreads =
43 std::thread::hardware_concurrency() - 1;
49 printf(
"Ian Parberry's square tourney generator");
50 printf(
" with %d concurrent threads.\n", nNumThreads);
51 printf(
"-------------------------------------------------------------------");
61 Task task = Task::Unknown;
72 if((gentype == GeneratorType::ConcentricBraid ||
73 gentype == GeneratorType::FourCover) &&
74 cycletype == CycleType::Tour)
76 printf(
"Substituting joined tourney for knight's tour.\n");
77 cycletype = CycleType::TourFromTourney;
81 bool obfuscate =
false;
Header for task functions.
Defines, enumerated types, and typedefs.
Header for the tourney and knight's tour generator CGenerator.
Header for helper functions.
GeneratorType
Generator type.
bool StartTask(Task task, const CTourneyDesc &t, int nNumThreads)
Start task.
UINT timeGetTime()
Something a little bit like timeGetTime for *NIX.