From 7ac9c048bb7c00d614230997df520b9319f0a030 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Tue, 10 Nov 2026 09:37:40 +0300 Subject: publish --- src/task2.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/task2.h (limited to 'src/task2.h') 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 @@ +#ifndef INCLUDED_TASK2_H +#define INCLUDED_TASK2_H + +#include + +#define ANT_COUNT 100 +#define I_START 0 +#define I_END 0 +#define NODE_COUNT 52 +#define ALPHA 1 +#define BETA 3.5 +#define RHO .4 +#define MAX_GENERATIONS 100 +#define MAX_GENERATIONS_NO_IMPROVEMENT 30 +#define SEED 1763499947 // 7967 +// #define SEED time (NULL) + +#endif // INCLUDED_TASK2_H -- cgit v1.3.1