NEDISS: Network Diffusion and Synchronization Simulator
macros.h
1//
2// Created by m4zz31 on 10/11/21.
3//
4
5#ifndef CPPPROJCT_MACROS_H
6#define CPPPROJCT_MACROS_H
7
8// lEGACY definition of VERBOSE = true or false here... should migrate!
9#if defined(VERBOSE)
10#define PRINTF_DBG printf
11#else
12#define PRINTF_DBG(...)
13#define VERBOSE false
14#endif
15
16#if !defined(INTEGRATION_PLACEHOLDER)
17#define INTEGRATION_PLACEHOLDER 1.010101
18#endif
19
20#if !defined(VERTEXVAL_REQUEST_FLAG)
21 #define VERTEXVAL_REQUEST_FLAG 25001
22#endif
23
24#if !defined(EDGEVAL_REQUEST_FLAG)
25#define EDGEVAL_REQUEST_FLAG 25000
26#endif
27
28#if !defined(K1_REQUEST)
29#define K1_REQUEST 24999
30#endif
31
32#if !defined(K1_ANSWER)
33#define K1_ANSWER 24998
34#endif
35
36#if !defined(K2_REQUEST)
37#define K2_REQUEST 24997
38#endif
39
40#if !defined(K2_ANSWER)
41#define K2_ANSWER 24996
42#endif
43
44#if !defined(K3_REQUEST)
45#define K3_REQUEST 24995
46#endif
47
48#if !defined(K3_ANSWER)
49#define K3_ANSWER 24994
50#endif
51
52#if !defined(K4_REQUEST)
53#define K4_REQUEST 24993
54#endif
55
56#if !defined(K4_ANSWER)
57#define K4_ANSWER 24992
58#endif
59
60
61
62#if !defined(OFFSET)
63#define OFFSET 12500
64#endif
65
66//#define ASSERTS
67
68#endif //CPPPROJCT_MACROS_H