18namespace layer5_applications {
19namespace apps_combinatorics {
100 int argc, std::string *argv,
106 cout <<
"delandtsheer_doyen_description::read_arguments" << endl;
113 for (i = 0; i < argc; i++) {
116 if (ST.
stringcmp(argv[i],
"-group_label") == 0) {
121 else if (ST.
stringcmp(argv[i],
"-mask_label") == 0) {
126 else if (ST.
stringcmp(argv[i],
"-problem_label") == 0) {
131 else if (ST.
stringcmp(argv[i],
"-depth") == 0) {
134 cout <<
"-depth " <<
depth << endl;
136 else if (ST.
stringcmp(argv[i],
"-d1") == 0) {
139 cout <<
"-d1 " <<
d1 << endl;
141 else if (ST.
stringcmp(argv[i],
"-d2") == 0) {
144 cout <<
"-d2 " <<
d2 << endl;
146 else if (ST.
stringcmp(argv[i],
"-q1") == 0) {
149 cout <<
"-q1 " <<
q1 << endl;
151 else if (ST.
stringcmp(argv[i],
"-q2") == 0) {
154 cout <<
"-q2 " <<
q2 << endl;
156 else if (ST.
stringcmp(argv[i],
"-DDx") == 0) {
160 else if (ST.
stringcmp(argv[i],
"-DDy") == 0) {
164 else if (ST.
stringcmp(argv[i],
"-K") == 0) {
167 cout <<
"-K " <<
K << endl;
169 else if (ST.
stringcmp(argv[i],
"-R") == 0) {
182 else if (ST.
stringcmp(argv[i],
"-C") == 0) {
195 else if (ST.
stringcmp(argv[i],
"-nb_orbits_on_blocks") == 0) {
200 else if (ST.
stringcmp(argv[i],
"-masktest") == 0) {
205 who.assign(argv[++i]);
206 what.assign(argv[++i]);
218 cout <<
"masktest: unknown 'who' option: " << who << endl;
219 cout <<
"must be one of 'x', 'y', 'x+y' or 's'" << endl;
229 cout <<
"masktest: unknown 'what' option: " << who << endl;
230 cout <<
"must be one of 'eq', 'ge' or 'le'" << endl;
241 else if (ST.
stringcmp(argv[i],
"-singletons") == 0) {
243 cout <<
"-singletons" << endl;
245 else if (ST.
stringcmp(argv[i],
"-subgroup") == 0) {
251 else if (ST.
stringcmp(argv[i],
"-pair_search_control") == 0) {
255 argv + i + 1, verbose_level);
257 cout <<
"-pair_search_control" << endl;
258 cout <<
"i = " << i << endl;
259 cout <<
"argc = " << argc << endl;
261 cout <<
"next argument is " << argv[i] << endl;
264 else if (ST.
stringcmp(argv[i],
"-search_control") == 0) {
268 argv + i + 1, verbose_level);
270 cout <<
"-search_control" << endl;
271 cout <<
"i = " << i << endl;
272 cout <<
"argc = " << argc << endl;
274 cout <<
"next argument is " << argv[i] << endl;
277 else if (ST.
stringcmp(argv[i],
"-search_wrt_subgroup") == 0) {
279 cout <<
"-search_wrt_subgroup " << endl;
282 else if (ST.
stringcmp(argv[i],
"-end") == 0) {
283 cout <<
"-end" << endl;
287 cout <<
"delandtsheer_doyen_description::read_arguments "
288 "unrecognized option " << argv[i] << endl;
300 cout <<
"please use -group_label <label> to specify a label for the group used";
304 cout <<
"please use -mask_label <label> to specify a label for the mask used";
308 cout <<
"delandtsheer_doyen_description::read_arguments done" << endl;
325 cout <<
"-depth " <<
depth << endl;
328 cout <<
"-d1 " <<
d1 << endl;
331 cout <<
"-d2 " <<
d2 << endl;
334 cout <<
"-q1 " <<
q1 << endl;
337 cout <<
"-q2 " <<
q2 << endl;
342 cout <<
"-K " <<
K << endl;
366 cout <<
"-singletons" << endl;
372 cout <<
"-pair_search_control" << endl;
376 cout <<
"-search_control" << endl;
380 cout <<
"-search_wrt_subgroup " << endl;
to control the behavior of the poset classification algorithm
int read_arguments(int argc, std::string *argv, int verbose_level)
int mask_test_value[MAX_MASK_TESTS]
int mask_test_what[MAX_MASK_TESTS]
std::string problem_label
int f_nb_orbits_on_blocks
poset_classification::poset_classification_control * Pair_search_control
int f_pair_search_control
std::string subgroup_gens
int f_search_wrt_subgroup
poset_classification::poset_classification_control * Search_control
int read_arguments(int argc, std::string *argv, int verbose_level)
int mask_test_who[MAX_MASK_TESTS]
delandtsheer_doyen_description()
~delandtsheer_doyen_description()
std::string subgroup_order
int mask_test_level[MAX_MASK_TESTS]
#define Int_vec_print(A, B, C)
the orbiter library for the classification of combinatorial objects