moveWithComment.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moveWithComment.h
Go to the documentation of this file.
1 /* moveWithComment.h
2 */
3 #ifndef _MOVEWITHCOMMENT_H
4 #define _MOVEWITHCOMMENT_H
5
6 #include "osl/move.h"
7 #include "osl/stl/vector.h"
8 #include "osl/hash/hashKey.h"
9 namespace osl
10 {
11 namespace search
12 {
13 struct MoveWithComment
14 {
15 Move move;
16 int value;
17 vector<Move> moves;
18 HashKey root;
19 uint64_t node_count;
20 double elapsed;
21 int root_limit;
22 explicit MoveWithComment(Move m=Move::INVALID(), int v=0)
23 : move(m), value(v), node_count(0), elapsed(0), root_limit(0)
24 {
25 }
26 ~MoveWithComment();
27 };
28 } // namespace search
29 using search::MoveWithComment;
30 } // namespace osl
31
32 #endif /* _MOVEWITHCOMMENT_H */
33 // ;;; Local Variables:
34 // ;;; mode:c++
35 // ;;; c-basic-offset:2
36 // ;;; End: