-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.cpp
23 lines (21 loc) · 847 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
#include "include/sophomr.h"
#include <string>
std::string OMR = "OMR";
std::string OMD = "OMD";
int main(int argc, char* argv[])
{
if (argc == 4) {
if (OMR.compare(argv[1]) == 0 && atoi(argv[2]) == 65536 && atoi(argv[3]) == 50) {
param_OMR_65536_50();
} else if (OMD.compare(argv[1]) == 0 && atoi(argv[2]) == 65536 && atoi(argv[3]) == 50) {
param_OMD_65536_50();
} else if (OMR.compare(argv[1]) == 0 && atoi(argv[2]) == 524288 && atoi(argv[3]) == 50) {
param_OMR_524288_50();
} else if (OMD.compare(argv[1]) == 0 && atoi(argv[2]) == 524288 && atoi(argv[3]) == 50) {
param_OMD_524288_50();
} else {
std::cout << "No predefined parameters detected. Using the default parameters set in global.h" << std::endl;
}
}
sophomr();
}