Utility functions for Go trees. More...
#include "GoKomi.h"
#include "SgBlackWhite.h"
#include "SgBWArray.h"
#include "SgPoint.h"
#include "SgVector.h"
Go to the source code of this file.
Namespaces | |
namespace | GoNodeUtil |
Functions | |
template<class BOARD > | |
SgNode * | GoNodeUtil::CreateRoot (const BOARD &board) |
Create a root node containing a given board position. | |
SgNode * | GoNodeUtil::CreatePosition (int boardSize, SgBlackWhite toPlay, const SgVector< SgPoint > &bPoints, const SgVector< SgPoint > &wPoints) |
Create a position with given size, toPlay, b and w points. | |
GoKomi | GoNodeUtil::GetKomi (const SgNode *node) |
Find komi that is valid for this node. | |
int | GoNodeUtil::GetHandicap (const SgNode *node) |
Find handicap that is valid for this node. |
Utility functions for Go trees.
Definition in file GoNodeUtil.h.