forked from mhaponiu/PORR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
directives.h
61 lines (45 loc) · 1.17 KB
/
directives.h
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
55
56
57
58
59
60
61
//
// Created by mhaponiu on 08.01.17.
//
#ifndef PORR_DIRECTIVES_H
#define PORR_DIRECTIVES_H
#endif //PORR_DIRECTIVES_H
#define MODEL_A 2;
#define A_DECR 0.1;
//########################## PARAMETRY DO USTAWIENIA ############################
//odkomentuj wybrany albo zrob to przez flage kompilacji np -DITER=100
//odkomentowane tutaj dyrektywy przyslaniaja flagi kompilacji
//#define ITER 100
//#define COUNT_WOLVES 10
//#define GENERATOR 1
//#define MAPA 0 //od 0 do 4
//#define MIN_X -2
//#define MAX_X 2
//#define MIN_Y -2
//#define MAX_Y 2
//#define DEBUG //drukuje na stdout dodatkowe informacje
//#define TIME //mierzy czas wykonania algorytmu
//#define PARALLEL //uruchamia program w wielu wątkach
//########################## KONIEC PARAMETROW ###################################
//domyslne ustawienia parametrow jesli nie zostaly wczesniej zdefiniowane
#ifndef COUNT_WOLVES
#define COUNT_WOLVES 10
#endif
#ifndef GENERATOR
#define GENERATOR time(NULL)
#endif
#ifndef MAPA
#define MAPA 0
#endif
#ifndef MIN_X
#define MIN_X -2
#endif
#ifndef MAX_X
#define MAX_X 2
#endif
#ifndef MIN_Y
#define MIN_Y -2
#endif
#ifndef MAX_Y
#define MAX_Y 2
#endif