Orbiter 2022
Combinatorial Objects
projective_space_with_action_description.cpp
Go to the documentation of this file.
1/*
2 * projective_space_with_action_description.cpp
3 *
4 * Created on: Jan 5, 2021
5 * Author: betten
6 */
7
8
9
10
11#include "orbiter.h"
12
13using namespace std;
14
15namespace orbiter {
16namespace layer5_applications {
17namespace projective_geometry {
18
19
20
21
23{
24 n = 0;
25 //input_q;
26 F = NULL;
28
29}
30
32{
33}
34
35
37 int argc, std::string *argv,
38 int verbose_level)
39{
40 int f_v = (verbose_level >= 1);
41 int i = 0;
43
44 if (f_v) {
45 cout << "projective_space_with_action_description::read_arguments" << endl;
46 }
47 n = ST.strtoi(argv[i++]);
48 if (f_v) {
49 cout << "n = " << n << endl;
50 }
51 input_q.assign(argv[i++]);
52 if (f_v) {
53 cout << "q = " << input_q << endl;
54 cout << "projective_space_with_action_description::read_arguments done" << endl;
55 }
56 for (; i < argc; i++) {
57
58 if (ST.stringcmp(argv[i], "-use_projectivity_subgroup") == 0) {
60 if (f_v) {
61 cout << "-f_use_projectivity_subgroup" << endl;
62 }
63 }
64
65
66 else if (ST.stringcmp(argv[i], "-end") == 0) {
67 if (f_v) {
68 cout << "-end" << endl;
69 }
70 break;
71 }
72
73 else {
74 cout << "projective_space_with_action_description::read_arguments "
75 "unrecognized option " << argv[i] << endl;
76 exit(1);
77 }
78
79 if (f_v) {
80 cout << "projective_space_with_action_description::read_arguments looping, i=" << i << endl;
81 }
82 } // next i
83
84 if (f_v) {
85 cout << "projective_space_with_action_description::read_arguments done" << endl;
86 }
87 return i + 1;
88}
89
90
91
93{
94 cout << n << " " << input_q;
96 cout << " -f_use_projectivity_subgroup";
97 }
98 cout << endl;
99}
100
101}}}
102
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