20namespace layer1_foundations {
21namespace orbiter_kernel_system {
46 int f_v = (verbose_level >= 1);
51 cout <<
"prepare_frames::parse_arguments" << endl;
53 for (i = 0; i < argc; i++) {
63 else if (ST.
stringcmp(argv[i],
"-step") == 0) {
67 cout <<
"-step " <<
step << endl;
70 else if (ST.
stringcmp(argv[i],
"-o") == 0) {
77 else if (ST.
stringcmp(argv[i],
"-output_starts_at") == 0) {
84 else if (ST.
stringcmp(argv[i],
"-end") == 0) {
86 cout <<
"-end" << endl;
91 cout <<
"prepare_frames::parse_arguments "
92 "unrecognized option " << argv[i] << endl;
103 cout <<
"-step " <<
step << endl;
124 int f_v = (verbose_level >= 1);
127 char input_fname[1000];
128 char output_fname[1000];
132 cout <<
"prepare_frames::do_the_work" << endl;
139 cout <<
"nb_frames = " << nb_frames << endl;
142 cout <<
"input " << i <<
" / " <<
nb_inputs << endl;
145 cout <<
"input " << i <<
" / " <<
nb_inputs <<
" frame " << j <<
" / " <<
input_len[i] << endl;
150 sprintf(input_fname,
input_mask[i].c_str(), (
int) j);
151 sprintf(output_fname,
output_mask.c_str(), (
int) h);
152 sprintf(cmd,
"cp %s %s", input_fname, output_fname);
157 cout <<
"nb_frames = " << nb_frames <<
" copied" << endl;
159 if (h != nb_frames) {
160 cout <<
"h != nb_frames" << endl;
166 cout <<
"prepare_frames::do_the_work done" << endl;
void do_the_work(int verbose_level)
std::string input_mask[1000]
int parse_arguments(int argc, std::string *argv, int verbose_level)
the orbiter library for the classification of combinatorial objects