aboutsummaryrefslogtreecommitdiff
path: root/src/task2.h
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-10 06:37:40 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-10 06:37:40 +0000
commit7ac9c048bb7c00d614230997df520b9319f0a030 (patch)
tree74e016451f0c344508f621b12ebc6ea6d96ca25d /src/task2.h
downloadlab-06-7ac9c048bb7c00d614230997df520b9319f0a030.tar.gz
publishHEADmaster
Diffstat (limited to 'src/task2.h')
-rw-r--r--src/task2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/task2.h b/src/task2.h
new file mode 100644
index 0000000..cb1e225
--- /dev/null
+++ b/src/task2.h
@@ -0,0 +1,18 @@
1#ifndef INCLUDED_TASK2_H
2#define INCLUDED_TASK2_H
3
4#include <time.h>
5
6#define ANT_COUNT 100
7#define I_START 0
8#define I_END 0
9#define NODE_COUNT 52
10#define ALPHA 1
11#define BETA 3.5
12#define RHO .4
13#define MAX_GENERATIONS 100
14#define MAX_GENERATIONS_NO_IMPROVEMENT 30
15#define SEED 1763499947 // 7967
16// #define SEED time (NULL)
17
18#endif // INCLUDED_TASK2_H