Chess
Public Member Functions | Public Attributes | List of all members
Node Class Reference

The Node structure is what makes up the tree of game states/moves traversed within Agent. More...

#include <agent.h>

Collaboration diagram for Node:
Collaboration graph
[legend]

Public Member Functions

 Node (Chessboard state, std::pair< int, int > move)
 
void reset_tree_recursive ()
 clears out the tree created for the previous move's game state recursively
 

Public Attributes

Chessboard board_state
 
std::pair< int, int > move
 
int score
 
std::vector< Node * > children
 

Detailed Description

The Node structure is what makes up the tree of game states/moves traversed within Agent.


The documentation for this class was generated from the following files: