My Project
Public Attributes | List of all members
Position Struct Reference

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
 
Linklink
 
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
 

Detailed Description

A position stored in the book.

struct Position

Member Data Documentation

◆ board

Board Position::board[1]

(unique) board

◆ flag

unsigned char Position::flag

done/undone, todo flag

◆ leaf

Link Position::leaf

best remaining move

◆ level

unsigned char Position::level

search level

◆ link

Link* Position::link

linking moves

◆ lower

short Position::lower

◆ n_draws

unsigned int Position::n_draws

game draw count

◆ n_lines

unsigned int Position::n_lines

unterminated line count

◆ n_link

unsigned char Position::n_link

linking moves number

◆ n_losses

unsigned int Position::n_losses

game loss count

◆ n_opponent_bestpaths

unsigned short Position::n_opponent_bestpaths

count of best paths for opponent

◆ n_player_bestpaths

unsigned short Position::n_player_bestpaths

count of best paths for player

◆ n_wins

unsigned int Position::n_wins

game win count

◆ 

struct { ... } Position::score

Position value & bounds

◆ upper

short Position::upper

◆ value

short Position::value

The documentation for this struct was generated from the following file: