#include <GoBoardUtil.h>
Inheritance diagram for GoAdjBlockIterator< BOARD >:
Definition at line 1133 of file GoBoardUtil.h.
Public Member Functions | |
GoAdjBlockIterator (const BOARD &board, SgPoint p, int maxLib) | |
void | operator++ () |
SgPoint | operator * () const |
operator bool () const | |
Private Attributes | |
SgPoint | m_points [MAX_ADJACENT] |
Maximum number of adjacent blocks. |
GoAdjBlockIterator< BOARD >::GoAdjBlockIterator | ( | const BOARD & | board, | |
SgPoint | p, | |||
int | maxLib | |||
) |
Definition at line 1150 of file GoBoardUtil.h.
References GoAdjBlockIterator< BOARD >::m_points, and MAX_ADJACENT.
SgPoint GoAdjBlockIterator< BOARD >::m_points[MAX_ADJACENT] [private] |
Maximum number of adjacent blocks.
Not quite sure this is an upper limit, but couldn't find an example that had more adjacent stones than a spiral block with adjacent single stones spaced one apart.
Definition at line 1146 of file GoBoardUtil.h.
Referenced by GoAdjBlockIterator< BOARD >::GoAdjBlockIterator().