historyToTable.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
historyToTable.h
Go to the documentation of this file.
1 /* historyToTable.h
2 */
3 #ifndef GAME_PLAYING_HISTORYTOTABLE_H
4 #define GAME_PLAYING_HISTORYTOTABLE_H
5 namespace osl
6 {
7 class Move;
8 namespace hash
9 {
10 class HashKey;
11 }
12 namespace search
13 {
14 class SimpleHashTable;
15 class HashRejections;
16 }
17 namespace game_playing
18 {
19 class GameState;
20 struct PVHistory;
21 struct HistoryToTable
22 {
24 static const int LIMIT;
28 static void adjustDominance(const hash::HashKey& key,
29 search::SimpleHashTable& table,
30 int black_win, int white_win,
31 const Move& good_move);
35 static void adjustTable(const GameState&,
36 search::SimpleHashTable& table,
37 int black_win, int draw, int white_win);
38 static void setPV(const PVHistory&, const GameState&,
39 search::SimpleHashTable& table);
40 };
41 } // namespace game_playing
42 } // namespace osl
43
44 #endif /* GAME_PLAYING_HISTORYTOTABLE_H */
45 // ;;; Local Variables:
46 // ;;; mode:c++
47 // ;;; c-basic-offset:2
48 // ;;; End: