const.h
Go to the documentation of this file.
1
11
#ifndef EDAX_CONST_H
12
#define EDAX_CONST_H
13
15
#define MAX_THREADS 64
16
18
#define MAX_MOVE 32
19
21
#define BOARD_SIZE 64
22
25
#define GAME_SIZE 80
26
28
enum
{
29
A1
,
B1
,
C1
,
D1
,
E1
,
F1
,
G1
,
H1
,
30
A2
,
B2
,
C2
,
D2
,
E2
,
F2
,
G2
,
H2
,
31
A3
,
B3
,
C3
,
D3
,
E3
,
F3
,
G3
,
H3
,
32
A4
,
B4
,
C4
,
D4
,
E4
,
F4
,
G4
,
H4
,
33
A5
,
B5
,
C5
,
D5
,
E5
,
F5
,
G5
,
H5
,
34
A6
,
B6
,
C6
,
D6
,
E6
,
F6
,
G6
,
H6
,
35
A7
,
B7
,
C7
,
D7
,
E7
,
F7
,
G7
,
H7
,
36
A8
,
B8
,
C8
,
D8
,
E8
,
F8
,
G8
,
H8
,
37
PASS
,
NOMOVE
38
};
39
41
enum
{
42
BLACK
= 0,
43
WHITE
,
44
EMPTY
,
45
OFF_SIDE
46
};
47
48
extern
const
unsigned
long
long
X_TO_BIT
[];
49
extern
const
unsigned
long
long
NEIGHBOUR
[];
50
52
#define SCORE_INF 127
53
55
#define SCORE_MIN -64
56
58
#define SCORE_MAX 64
59
61
#define TIME_MAX 31557600000000LL
62
64
#define HOUR 3600000LL
65
67
#define MAX_OBSERVER 2
68
70
typedef
enum
Stop
{
71
RUNNING
= 0,
72
STOP_PARALLEL_SEARCH
,
73
STOP_PONDERING
,
74
STOP_TIMEOUT
,
75
STOP_ON_DEMAND
,
76
STOP_END
77
}
Stop
;
78
80
typedef
enum
{
81
PV_NODE
,
82
CUT_NODE
,
83
ALL_NODE
84
}
NodeType
;
85
86
#define VERSION 4
87
#define RELEASE 4
88
#define VERSION_STRING "4.4"
89
#define EDAX_NAME "Edax 4.4"
90
#define BOOK 0x424f4f4b
91
#define EDAX 0x45444158
92
#define EVAL 0x4556414c
93
#define XADE 0x58414445
94
#define LAVE 0x4c415645
95
99
typedef
enum
PlayState
{
100
IS_WAITING
,
101
IS_PONDERING
,
102
IS_ANALYZING
,
103
IS_THINKING
104
}
PlayState
;
105
107
enum
{
108
UI_NONE
= 0,
109
UI_CASSIO
,
110
UI_EDAX
,
111
UI_GGS
,
112
UI_GTP
,
113
UI_NBOARD
,
114
UI_XBOARD
,
115
UI_LIBEDAX
// add for libedax by lavox. 2018/1/16
116
};
117
118
#endif
119
120
C5
Definition:
const.h:33
IS_ANALYZING
Definition:
const.h:102
STOP_TIMEOUT
Definition:
const.h:74
BLACK
Definition:
const.h:42
G5
Definition:
const.h:33
A7
Definition:
const.h:35
G7
Definition:
const.h:35
G3
Definition:
const.h:31
IS_WAITING
Definition:
const.h:100
F8
Definition:
const.h:36
F1
Definition:
const.h:29
C8
Definition:
const.h:36
F4
Definition:
const.h:32
D5
Definition:
const.h:33
PlayState
PlayState
Definition:
const.h:99
OFF_SIDE
Definition:
const.h:45
B8
Definition:
const.h:36
F7
Definition:
const.h:35
EMPTY
Definition:
const.h:44
D1
Definition:
const.h:29
B4
Definition:
const.h:32
F5
Definition:
const.h:33
STOP_PARALLEL_SEARCH
Definition:
const.h:72
E2
Definition:
const.h:30
E4
Definition:
const.h:32
RUNNING
Definition:
const.h:71
UI_EDAX
Definition:
const.h:110
H2
Definition:
const.h:30
G1
Definition:
const.h:29
IS_PONDERING
Definition:
const.h:101
E7
Definition:
const.h:35
B6
Definition:
const.h:34
D7
Definition:
const.h:35
D4
Definition:
const.h:32
Stop
Stop
Definition:
const.h:70
A6
Definition:
const.h:34
STOP_ON_DEMAND
Definition:
const.h:75
C4
Definition:
const.h:32
IS_THINKING
Definition:
const.h:103
A2
Definition:
const.h:30
B7
Definition:
const.h:35
UI_LIBEDAX
Definition:
const.h:115
B3
Definition:
const.h:31
H5
Definition:
const.h:33
H7
Definition:
const.h:35
C6
Definition:
const.h:34
H4
Definition:
const.h:32
UI_GGS
Definition:
const.h:111
UI_NONE
Definition:
const.h:108
NodeType
NodeType
Definition:
const.h:80
CUT_NODE
Definition:
const.h:82
E5
Definition:
const.h:33
B5
Definition:
const.h:33
F6
Definition:
const.h:34
X_TO_BIT
const unsigned long long X_TO_BIT[]
Definition:
bit.c:18
C7
Definition:
const.h:35
UI_NBOARD
Definition:
const.h:113
H6
Definition:
const.h:34
E3
Definition:
const.h:31
B2
Definition:
const.h:30
D8
Definition:
const.h:36
F2
Definition:
const.h:30
C3
Definition:
const.h:31
UI_GTP
Definition:
const.h:112
G6
Definition:
const.h:34
A1
Definition:
const.h:29
C2
Definition:
const.h:30
D2
Definition:
const.h:30
G2
Definition:
const.h:30
A5
Definition:
const.h:33
WHITE
Definition:
const.h:43
E1
Definition:
const.h:29
C1
Definition:
const.h:29
D3
Definition:
const.h:31
UI_CASSIO
Definition:
const.h:109
G8
Definition:
const.h:36
ALL_NODE
Definition:
const.h:83
F3
Definition:
const.h:31
H3
Definition:
const.h:31
A4
Definition:
const.h:32
H8
Definition:
const.h:36
PASS
Definition:
const.h:37
A8
Definition:
const.h:36
E8
Definition:
const.h:36
D6
Definition:
const.h:34
NEIGHBOUR
const unsigned long long NEIGHBOUR[]
Definition:
bit.c:39
STOP_END
Definition:
const.h:76
PV_NODE
Definition:
const.h:81
G4
Definition:
const.h:32
UI_XBOARD
Definition:
const.h:114
A3
Definition:
const.h:31
STOP_PONDERING
Definition:
const.h:73
H1
Definition:
const.h:29
B1
Definition:
const.h:29
E6
Definition:
const.h:34
NOMOVE
Definition:
const.h:37
Generated by
1.8.14