Definition in file GoInfluence.cpp.
#include "SgSystem.h"
#include "GoInfluence.h"
#include "SgNbIterator.h"
Go to the source code of this file.
Functions | |
| void | Spread (const GoBoard &bd, SgPoint p, const SgPointSet &stopPts, int val, SgPointArray< int > &influence) |
| Spread influence. | |
| void | GoInfluence::FindInfluence (const GoBoard &board, int nuExpand, int nuShrink, SgBWSet *result) |
| Compute influence by nuExpand expansions followed by nuShrink contractions. | |
| int | GoInfluence::Influence (const GoBoard &board, SgBlackWhite color, int nuExpand, int nuShrink) |
| Influence of a single player. | |
| void | GoInfluence::ComputeInfluence (const GoBoard &board, const SgBWSet &stopPts, SgBWArray< SgPointArray< int > > *influence) |
| Compute influence, stopping at stopPts. | |
| void @10::Spread | ( | const GoBoard & | bd, | |
| SgPoint | p, | |||
| const SgPointSet & | stopPts, | |||
| int | val, | |||
| SgPointArray< int > & | influence | |||
| ) | [static] |
Spread influence.
Definition at line 17 of file GoInfluence.cpp.
References SgPointSet::Contains(), and GoBoard::IsValidPoint().
Referenced by GoInfluence::ComputeInfluence().