Orbiter 2022
Combinatorial Objects
poset_classification_report_options.cpp
Go to the documentation of this file.
1/*
2 * poset_classification_report_options.cpp
3 *
4 * Created on: Jul 31, 2021
5 * Author: betten
6 */
7
8
9
10
11
13#include "discreta/discreta.h"
16
17using namespace std;
18
19namespace orbiter {
20namespace layer4_classification {
21namespace poset_classification {
22
23
25{
33}
34
36{
37}
38
39
41 int argc, std::string *argv,
42 int verbose_level)
43{
44 int i;
45 int f_v = (verbose_level >= 1);
47
48 if (f_v) {
49 cout << "poset_classification_report_options::read_arguments" << endl;
50 }
51 for (i = 0; i < argc; i++) {
52
53 if (ST.stringcmp(argv[i], "-select_orbits_by_level") == 0) {
56 }
57 else if (ST.stringcmp(argv[i], "-select_orbits_by_stabilizer_order") == 0) {
60 }
61 else if (ST.stringcmp(argv[i], "-select_orbits_by_stabilizer_order_multiple_of") == 0) {
64 }
65 else if (ST.stringcmp(argv[i], "-include_projective_stabilizer") == 0) {
67 }
68 else if (ST.stringcmp(argv[i], "-end") == 0) {
69 if (f_v) {
70 cout << "-end" << endl;
71 }
72 break;
73 }
74 else {
75 cout << "poset_classification_report_options::read_arguments "
76 "unrecognized option " << argv[i] << endl;
77 exit(1);
78 }
79
80 } // next i
81 if (f_v) {
82 cout << "poset_classification_report_options::read_arguments done" << endl;
83 }
84 return i + 1;
85}
86
88{
89 //cout << "poset_classification_report_options::print:" << endl;
90
91
92
94 cout << "-select_orbits_by_level " << select_orbits_by_level_level << endl;
95 }
97 cout << "-select_orbits_by_stabilizer_order " << select_orbits_by_stabilizer_order_so << endl;
98 }
100 cout << "-select_orbits_by_stabilizer_order_multiple_of " << select_orbits_by_stabilizer_order_so_multiple_of << endl;
101 }
103 cout << "-include_projective_stabilizer" << endl;
104 }
105
106}
107
109{
112 return TRUE;
113 }
114 else {
115 return FALSE;
116 }
117 }
120 return TRUE;
121 }
122 else {
123 return FALSE;
124 }
125 }
126 else {
127 return TRUE;
128 }
129}
130
131
132
133}}}
134
functions related to strings and character arrays
#define TRUE
Definition: foundations.h:231
#define FALSE
Definition: foundations.h:234
the orbiter library for the classification of combinatorial objects