Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoChain.h File Reference


Detailed Description

A chain contained in a.

See also:
GoRegionBoard.

Definition in file GoChain.h.

#include <iosfwd>
#include "GoBlock.h"
#include "GoBoard.h"
#include "SgBlackWhite.h"
#include "SgPoint.h"
#include "SgVector.h"

Go to the source code of this file.

Classes

class  GoChainCondition
 Condition that explains why two blocks or chains can be merged into a new, larger chain. More...
class  GoChain
 Set of GoBlock's that are a connected unit. More...

Enumerations

enum  GoChainType { GO_CHAIN_TWO_LIBERTIES_IN_REGION, GO_CHAIN_TWO_SEPARATE_LIBERTIES, GO_CHAIN_BY_SEARCH, _GO_CHAIN_COUNT }
 The reason why two blocks or chains are merged into a single chain. More...

Functions

std::ostream & operator<< (std::ostream &stream, GoChainType f)
std::ostream & operator<< (std::ostream &stream, const GoChainCondition &c)
std::ostream & operator<< (std::ostream &stream, const GoChain &c)


Enumeration Type Documentation

enum GoChainType

The reason why two blocks or chains are merged into a single chain.

Enumerator:
GO_CHAIN_TWO_LIBERTIES_IN_REGION 
GO_CHAIN_TWO_SEPARATE_LIBERTIES 
GO_CHAIN_BY_SEARCH 
_GO_CHAIN_COUNT 

Definition at line 24 of file GoChain.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const GoChain c 
)

Definition at line 112 of file GoChain.cpp.

References GoChain::Write().

std::ostream& operator<< ( std::ostream &  stream,
const GoChainCondition c 
)

Definition at line 159 of file GoChain.cpp.

References GoChainCondition::Lib1(), GoChainCondition::Lib2(), GoChainCondition::Type(), and GoChainCondition::UsesLibs().

std::ostream& operator<< ( std::ostream &  stream,
GoChainType  f 
)

Definition at line 144 of file GoChain.cpp.

References _GO_CHAIN_COUNT.


17 Jun 2010 Doxygen 1.4.7