-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.c
25 lines (19 loc) · 925 Bytes
/
main.c
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
#include <stdio.h>
#include <string.h>
#include "imis.h"
int main()
{
size_t B0 = 1e5, B = 1e4, B_re = 1e5, number_k = 100, numParam = 2;
unsigned int rand_seeds[50] = {77930367, 92918408, 34469832, 28297827, 50443938, 70582260, 13288207, 2658568, 57222351, 34756642,
1227603, 25149311, 30403141, 54960128, 92896693, 3677103, 79308185, 14218406, 19755621, 2506147,
50646245, 37385539, 5294989, 14757939, 21039100, 97390437, 88454986, 71366746, 18720708, 26566571,
10099941, 43651764, 86807900, 25257905, 36514967, 44812590, 52504301, 94635541, 95393030, 56409727,
74675569, 93799926, 268821, 57578253, 3398736, 44126070, 26233577, 43642049, 53412245, 55786061};
for(size_t i = 0; i < 50; i++){
char strName[11] = "trimodal";
sprintf(strName, "trimodal%d", i);
fnIMIS(B0, B, B_re, number_k, numParam, rand_seeds[i], strName);
printf("%d done\n", i+1);
}
return 0;
}