15namespace layer1_foundations {
55 int argc, std::string *argv,
58 int f_v = (verbose_level >= 1);
63 cout <<
"diophant_activity_description::read_arguments" << endl;
65 for (i = 0; i < argc; i++) {
67 if (ST.
stringcmp(argv[i],
"-input_file") == 0) {
74 else if (ST.
stringcmp(argv[i],
"-print") == 0) {
77 cout <<
"-print " << endl;
80 else if (ST.
stringcmp(argv[i],
"-solve_mckay") == 0) {
83 cout <<
"-solve_mckay " << endl;
86 else if (ST.
stringcmp(argv[i],
"-solve_standard") == 0) {
89 cout <<
"-solve_standard " << endl;
92 else if (ST.
stringcmp(argv[i],
"-solve_DLX") == 0) {
95 cout <<
"-solve_DLX " << endl;
98 else if (ST.
stringcmp(argv[i],
"-draw_as_bitmap") == 0) {
106 else if (ST.
stringcmp(argv[i],
"-draw") == 0) {
109 cout <<
"-draw " << endl;
112 else if (ST.
stringcmp(argv[i],
"-perform_column_reductions") == 0) {
115 cout <<
"-perform_column_reductions " << endl;
118 else if (ST.
stringcmp(argv[i],
"-test_single_equation") == 0) {
125 else if (ST.
stringcmp(argv[i],
"-project_to_single_equation_and_solve") == 0) {
133 else if (ST.
stringcmp(argv[i],
"-project_to_two_equations_and_solve") == 0) {
140 cout <<
"-project_to_single_equation_and_solve " <<
eqn1_idx <<
" " <<
eqn2_idx
146 else if (ST.
stringcmp(argv[i],
"-end") == 0) {
150 cout <<
"diophant_activity_description::read_arguments "
151 "unrecognized option " << argv[i] << endl;
156 cout <<
"diophant_activity_description::read_arguments done" << endl;
167 cout <<
"-print " << endl;
170 cout <<
"-solve_mckay " << endl;
173 cout <<
"-solve_standard " << endl;
176 cout <<
"-solve_DLX " << endl;
182 cout <<
"-draw " << endl;
185 cout <<
"-perform_column_reductions " << endl;
194 cout <<
"-project_to_single_equation_and_solve " <<
eqn1_idx <<
" " <<
eqn2_idx
int f_project_to_single_equation_and_solve
int f_project_to_two_equations_and_solve
int read_arguments(int argc, std::string *argv, int verbose_level)
int max_number_of_coefficients
diophant_activity_description()
int f_test_single_equation
int f_perform_column_reductions
~diophant_activity_description()
the orbiter library for the classification of combinatorial objects