Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoNodeUtil.h File Reference


Detailed Description

Utility functions for Go trees.

Definition in file GoNodeUtil.h.

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


17 Jun 2010 Doxygen 1.4.7