Orbiter 2022
Combinatorial Objects
packing_was_activity_description.cpp
Go to the documentation of this file.
1/*
2 * packing_was_activity_description.cpp
3 *
4 * Created on: Apr 3, 2021
5 * Author: betten
6 */
7
8
9
10
11
12#include "orbiter.h"
13
14using namespace std;
15
16namespace orbiter {
17namespace layer5_applications {
18namespace packings {
19
20
21
23{
25
27 //std::string export_reduced_spread_orbits_fname_base;
28
30 //std::string create_graph_on_mixed_orbits_orbit_lengths;
31}
32
34{
35
36}
37
39 int argc, std::string *argv,
40 int verbose_level)
41{
42 int i;
44
45 cout << "packing_was_activity_description::read_arguments" << endl;
46 for (i = 0; i < argc; i++) {
47
48 cout << "packing_was_activity_description::read_arguments, next argument is " << argv[i] << endl;
49
50
51 if (ST.stringcmp(argv[i], "-report") == 0) {
52 f_report = TRUE;
53 cout << "-report" << endl;
54 }
55 else if (ST.stringcmp(argv[i], "-export_reduced_spread_orbits") == 0) {
58 cout << "-export_reduced_spread_orbits " << export_reduced_spread_orbits_fname_base << endl;
59 }
60 else if (ST.stringcmp(argv[i], "-create_graph_on_mixed_orbits") == 0) {
63 cout << "-create_graph_on_mixed_orbits " << create_graph_on_mixed_orbits_orbit_lengths << endl;
64 }
65
66 else if (ST.stringcmp(argv[i], "-end") == 0) {
67 cout << "-end" << endl;
68 break;
69 }
70 else {
71 cout << "packing_was_activity_description::read_arguments "
72 "unrecognized option " << argv[i] << endl;
73 exit(1);
74 }
75 cout << "packing_was_activity_description::read_arguments looping, i=" << i << endl;
76 } // next i
77 cout << "packing_was_activity_description::read_arguments done" << endl;
78 return i + 1;
79}
80
82{
83 if (f_report) {
84 cout << "-report" << endl;
85 }
87 cout << "-export_reduced_spread_orbits " << export_reduced_spread_orbits_fname_base << endl;
88 }
90 cout << "-create_graph_on_mixed_orbits " << create_graph_on_mixed_orbits_orbit_lengths << endl;
91 }
92}
93
94
95
96
97}}}
98
99
100
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