A GoRegion contained in a. More...
#include <bitset>
#include <iosfwd>
#include "GoBoard.h"
#include "GoBoardUtil.h"
#include "GoEyeCount.h"
#include "SgVector.h"
#include "SgIncrementalStack.h"
#include "SgMiaiStrategy.h"
#include "SgPointArray.h"
Go to the source code of this file.
Classes | |
class | GoRegion |
GoRegion represents a region surrounded by blocks of one color. More... | |
Typedefs | |
typedef std::bitset < _GO_REGION_FLAG_COUNT > | GoRegionFlags |
Set of GoRegionFlag. | |
Enumerations | |
enum | GoRegionFlag { GO_REGION_SMALL, GO_REGION_CORRIDOR, GO_REGION_STATIC_1VC, GO_REGION_1VC, GO_REGION_STATIC_2V, GO_REGION_2V, GO_REGION_SINGLE_BLOCK_BOUNDARY, GO_REGION_OPP_CAN_LIVE_INSIDE, GO_REGION_AT_LEAST_SEKI, GO_REGION_SAFE, GO_REGION_PROTECTED_CUTS, GO_REGION_STATIC_1VITAL, GO_REGION_1VITAL, GO_REGION_USED_FOR_MERGE, GO_REGION_VALID, GO_REGION_COMPUTED_BLOCKS, GO_REGION_COMPUTED_CHAINS, GO_REGION_COMPUTED_NAKADE, _GO_REGION_FLAG_COUNT } |
Information computed about a GoRegion. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const GoRegion &r) |
A GoRegion contained in a.
A GoRegion is a maximal connected set of points surrounded by stones of the same color.
Regions compute properties such as 1-vitality, 2-vitality [Mueller 95, p. 62-63],[Mueller 97b]. They are used for static and search-based safety solvers. They are also used for better move generation, e.g. in semeai.
Definition in file GoRegion.h.
typedef std::bitset<_GO_REGION_FLAG_COUNT> GoRegionFlags |
Set of GoRegionFlag.
Definition at line 60 of file GoRegion.h.
enum GoRegionFlag |
Information computed about a GoRegion.
Definition at line 36 of file GoRegion.h.
std::ostream& operator<< | ( | std::ostream & | stream, | |
const GoRegion & | r | |||
) |
Definition at line 1255 of file GoRegion.cpp.
References GoRegion::Write().