-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
54 lines (41 loc) · 962 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include "encdl.h"
#include "ex1.h"
#include "util.h"
#include <cstdlib>
#include <filesystem>
#include <iostream>
namespace fs = std::filesystem;
int main(int argc, char *argv[]) {
// CLI args
for (int i = 1; i < argc; ++i)
std::cout << argv[i] << "\n";
fs::path paramsPath{argv[1]}; // Note! Testcase path as argv[1]!
// Read params
params_s params;
readParams(paramsPath, ¶ms);
// Encoding
encDl(paramsPath, ¶ms);
// ex1_run();
// ex2_run();
// ex3_run();
// ex4_run();
// ex1_vec_run();
// ex2_vec_run();
// ex3_vec_run();
// ex4_vec_run();
// ex1_view_run();
ex2_ind_run();
ex3_ind_run();
// ex1_ind_run();
// ex1_rnd_run();
// ex1_csv_run();
// ex1_qck_run();
// ex1_red_run();
// ex1_man_run();
// ex1_crc_run();
// ex2_crc_run();
// ex1_mpow_run();
// ex1_cmplx_run();
// ex2_cmplx_run();
return 0;
}