From cfa50528f3aadc93372bb6359ea589012a8bc194 Mon Sep 17 00:00:00 2001 From: rokicki Date: Tue, 28 Jan 2025 15:18:21 -0800 Subject: [PATCH] Add a note that -c and --alloptimal will only give solutions reduced by the same symmetry that is found from the rotations and move sets. --- src/cpp/twsearch.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/cpp/twsearch.cpp b/src/cpp/twsearch.cpp index f22ab1bc..6b714ded 100644 --- a/src/cpp/twsearch.cpp +++ b/src/cpp/twsearch.cpp @@ -127,7 +127,11 @@ static boolopt boolopts[] = { {"-q", "Use only minimal (quarter) turns.", &quarter}, {"-H", "Use 128-bit hash instead of full state for God's number searches.", &usehashenc}, - {"--alloptimal", "Find all optimal solutions.", &alloptimal}, + {"--alloptimal", + "Find all optimal solutions. If puzzle has rotations\n" + "and is reduced by symmetry, the set of solutions will also be\n" + "reduced by that symmetry.", + &alloptimal}, }; static intopt intopts[] = { {"--newcanon", @@ -148,8 +152,12 @@ static intopt intopts[] = { {"-R", "num Seed for random number generator.", &seed, -2000000000, 2000000000}, }; -static llopt solcountopt("-c", "num Number of solutions to generate.", - &solutionsneeded); +static llopt solcountopt( + "-c", + "num Number of solutions to generate. If puzzle has rotations\n" + "and is reduced by symmetry, the set of solutions will also be\n" + "reduced by that symmetry.", + &solutionsneeded); /* * Can be called multiple times at the start. */