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

#include <ybwc.h>

Public Attributes

volatile int bestmove
 
volatile int bestscore
 
volatile int alpha
 
int beta
 
bool pv_node
 
volatile int n_slave
 
volatile bool stop_point
 
volatile bool is_waiting
 
int depth
 
int height
 
struct Searchsearch
 
struct Searchslave [SPLIT_MAX_SLAVES]
 
struct Nodeparent
 
struct Movemove
 
volatile int n_moves_done
 
volatile int n_moves_todo
 
volatile bool is_helping
 
Task help [1]
 
Lock lock
 
Condition cond
 

Detailed Description

A Node is a position in the search tree, containing information shared with parallel threads.

Member Data Documentation

◆ alpha

volatile int Node::alpha

alpha lower bound

◆ bestmove

volatile int Node::bestmove

bestmove

◆ bestscore

volatile int Node::bestscore

bestscore

◆ beta

int Node::beta

beta upper bound (is constant after initialisation)

◆ cond

Condition Node::cond

condition variable

◆ depth

int Node::depth

depth

◆ height

int Node::height

height

◆ help

Task Node::help[1]

helper task

◆ is_helping

volatile bool Node::is_helping

waiting flag

◆ is_waiting

volatile bool Node::is_waiting

waiting flag

◆ lock

Lock Node::lock

mutex

◆ move

struct Move* Node::move

move to search

◆ n_moves_done

volatile int Node::n_moves_done

search done

◆ n_moves_todo

volatile int Node::n_moves_todo

search todo

◆ n_slave

volatile int Node::n_slave

number of slaves splitted flag

◆ parent

struct Node* Node::parent

master node

◆ pv_node

bool Node::pv_node

pv_node

◆ search

struct Search* Node::search

master search structure

◆ slave

struct Search* Node::slave[SPLIT_MAX_SLAVES]

slave search structure

◆ stop_point

volatile bool Node::stop_point

stop point flag


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