15 #define RANDOM_MAX 2147483647
17 #define RANDOM_MAX RAND_MAX
20 /**@name Standard Types
21 * Definition of Platform independent Types
30 typedef unsigned char BYTE
;
33 /// Type SHORT is 2 bytes in size
34 typedef short int SHORT
;
35 typedef SHORT
* P_SHORT
;
37 /// Type WORD is 2 bytes in size
38 typedef unsigned short int WORD
;
41 /// Type INT is 4 bytes in size
45 /// Type INT is 4 bytes in size
46 typedef unsigned int UINT
;
49 /// Type LONG is 8 bytes in size
53 /// Type SHORTREAL is 4 bytes in size
54 typedef float SHORTREAL
;
55 typedef SHORTREAL
* P_SHORTREAL
;
57 /// Type REAL is 8 bytes in size
61 /// Type LONGREAL is 16 bytes in size
62 //typedef long double LONGREAL;
63 //typedef LONGREAL* P_LONGREAL;
65 #ifdef USE_SHORTREAL_KERNELCACHE
66 typedef SHORTREAL KERNELCACHE_ELEM
;
68 typedef REAL KERNELCACHE_ELEM
;
71 typedef KERNELCACHE_ELEM P_KERNELCACHE_ELEM
;
73 typedef LONG KERNELCACHE_IDX
;
75 /// The io libs output [DEBUG] etc in front of every CIO::message
76 /// 'higher' messages filter output depending on the loglevel, i.e. CRITICAL messages
77 /// will print all M_CRITICAL TO M_EMERGENCY messages to
96 K_LINEAR
= 10 | K_OPTIMIZABLE
,
101 K_LOCALITYIMPROVED
= 50,
102 K_SIMPLELOCALITYIMPROVED
= 60,
104 K_WEIGHTEDDEGREE
= 80 | K_OPTIMIZABLE
,
105 K_WEIGHTEDDEGREEPOS
= 81 | K_OPTIMIZABLE
,
106 K_WEIGHTEDDEGREEPOLYA
= 82,
108 K_COMMWORD
= 90 | K_OPTIMIZABLE
,
111 K_COMMWORDSTRING
= 120 | K_OPTIMIZABLE
,
112 K_SPARSENORMSQUARED
= 130,
113 K_COMBINED
= 140 | K_OPTIMIZABLE
136 /// Alphabet of charfeatures/observations
139 /// DNA - letters A,C,G,T,*,N,n
142 /// PROTEIN - letters a-z
145 /// ALPHANUM - [0-9a-z]
151 /// NONE - type has no alphabet
157 #define TMP_DIR "/tmp/"
158 //#define TMP_DIR "/short/x46/tmp/"