|
My Project
|
A position stored in the book. More...
#include <book.h>
Public Attributes | ||
| Board | board [1] | |
| Link | leaf | |
| unsigned char | flag | |
| unsigned short | n_player_bestpaths | |
| unsigned short | n_opponent_bestpaths | |
| Link * | link | |
| unsigned int | n_wins | |
| unsigned int | n_draws | |
| unsigned int | n_losses | |
| unsigned int | n_lines | |
| struct { | ||
| short value | ||
| short lower | ||
| short upper | ||
| } | score | |
| unsigned char | n_link | |
| unsigned char | level | |
A position stored in the book.
struct Position
| Board Position::board[1] |
(unique) board
| unsigned char Position::flag |
done/undone, todo flag
| Link Position::leaf |
best remaining move
| unsigned char Position::level |
search level
| Link* Position::link |
linking moves
| short Position::lower |
| unsigned int Position::n_draws |
game draw count
| unsigned int Position::n_lines |
unterminated line count
| unsigned char Position::n_link |
linking moves number
| unsigned int Position::n_losses |
game loss count
| unsigned short Position::n_opponent_bestpaths |
count of best paths for opponent
| unsigned short Position::n_player_bestpaths |
count of best paths for player
| unsigned int Position::n_wins |
game win count
| struct { ... } Position::score |
Position value & bounds
| short Position::upper |
| short Position::value |