Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoBoard.cpp File Reference


Detailed Description

See GoBoard.h.

Definition in file GoBoard.cpp.

#include "SgSystem.h"
#include "GoBoard.h"
#include <boost/static_assert.hpp>
#include <algorithm>
#include "GoInit.h"
#include "SgNbIterator.h"
#include "SgStack.h"

Go to the source code of this file.

Functions

void UpdateChanges (SgPoint p, SgSList< SgPoint, SG_MAXPOINT > &changes, int &nuChanges)

Variables

const bool CONSISTENCY = false
 Do a consistency check.


Function Documentation

void @1::UpdateChanges ( SgPoint  p,
SgSList< SgPoint, SG_MAXPOINT > &  changes,
int &  nuChanges 
) [static]

Definition at line 30 of file GoBoard.cpp.

References SgSList< T, SIZE >::Exclude(), and SgSList< T, SIZE >::PushBack().

Referenced by GoBoard::FullBoardRepetition().


Variable Documentation

const bool CONSISTENCY = false [static]

Do a consistency check.

Check some data structures for consistency after and before each play and undo (and at some other places). This is an expensive check and therefore has to be enabled at compile time.

Definition at line 28 of file GoBoard.cpp.

Referenced by GoBoard::CheckConsistency().


17 Jun 2010 Doxygen 1.4.7