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
 
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
 
unsigned char done
 
unsigned char todo
 

Detailed Description

A position stored in the book.

struct Position

Member Data Documentation

◆ board

Board Position::board[1]

(unique) board

◆ done

unsigned char Position::done

done/undone 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_wins

unsigned int Position::n_wins

game win count

◆ score

struct { ... } Position::score

Position value & bounds

◆ todo

unsigned char Position::todo

todo flag

◆ upper

short Position::upper

◆ value

short Position::value

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