Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Namespaces | Functions

GoNodeUtil.h File Reference

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 >
SgNodeGoNodeUtil::CreateRoot (const BOARD &board)
 Create a root node containing a given board position.
SgNodeGoNodeUtil::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.

Detailed Description

Utility functions for Go trees.

Definition in file GoNodeUtil.h.


Sun Mar 13 2011 Doxygen 1.7.1