Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoEyeCount.h File Reference


Detailed Description

Upper and lower bounds on number of eyes and potential eyes.

Also track whether an area can form a local seki.

Todo:
the implementation of seki support is incomplete.

needs unit test cases.

Definition in file GoEyeCount.h.

#include <ostream>

Go to the source code of this file.

Classes

class  GoEyeCount
 upper and lower bounds on number of eyes and potential eyes More...

Enumerations

enum  GoEyeStatus {
  EYE_UNKNOWN, EYE_NONE, EYE_HALF, EYE_ONE,
  EYE_ONE_AND_HALF, EYE_TWO
}
 Quick summary of eye status. More...

Functions

std::ostream & operator<< (std::ostream &stream, const GoEyeCount &s)


Enumeration Type Documentation

enum GoEyeStatus

Quick summary of eye status.

Todo:
there are more cases, see Landman's paper in Games of no Chance. Will add them later as needed.
Enumerator:
EYE_UNKNOWN 
EYE_NONE 
EYE_HALF 
EYE_ONE 
EYE_ONE_AND_HALF 
EYE_TWO 

Definition at line 23 of file GoEyeCount.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const GoEyeCount s 
)

Definition at line 68 of file GoEyeCount.cpp.

References GoEyeCount::IsLocalSeki(), GoEyeCount::MaxEyes(), GoEyeCount::MaxPotEyes(), GoEyeCount::MaybeLocalSeki(), GoEyeCount::MinEyes(), and GoEyeCount::MinPotEyes().


17 Jun 2010 Doxygen 1.4.7