Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Typedefs | Enumerations | Functions

GoMotive.h File Reference

Enumerations GoMotive and GoModifier. More...

#include <bitset>
#include <iosfwd>

Go to the source code of this file.

Typedefs

typedef std::bitset
< _GO_NU_MOTIVE > 
GoMotives

Enumerations

enum  GoMotive {
  GO_MOT_NONE, GO_MOT_RANDOM, GO_MOT_CAPTURE, GO_MOT_ESCAPE,
  GO_MOT_CONNECT, GO_MOT_CUT, GO_MOT_TO_DIVIDE, GO_MOT_URGENT,
  GO_MOT_EXPAND, GO_MOT_STABILIZE, GO_MOT_REDUCE, GO_MOT_DEFEND,
  GO_MOT_INVADE, GO_MOT_SENTE, GO_MOT_FORCED, GO_MOT_ONEYE,
  GO_MOT_TWOEYE, GO_MOT_YOSE, GO_MOT_ATTACK, GO_MOT_SAVE,
  GO_MOT_DOUBLEATARI, GO_MOT_ATARI, GO_MOT_KOTHREAT, _GO_NU_MOTIVE
}
 

Move motives.

More...
enum  GoModifier {
  GO_MOD_NORMAL, GO_MOD_VERY_BIG, GO_MOD_BIG, GO_MOD_SMALL,
  GO_MOD_VERY_SMALL, _GO_NU_MODIFIER
}
 

Move motive modifier.

More...

Functions

std::ostream & operator<< (std::ostream &out, GoMotive motive)
std::ostream & operator<< (std::ostream &out, GoModifier modifier)

Detailed Description

Enumerations GoMotive and GoModifier.

Definition in file GoMotive.h.


Typedef Documentation

typedef std::bitset<_GO_NU_MOTIVE> GoMotives

Definition at line 91 of file GoMotive.h.


Enumeration Type Documentation

enum GoModifier

Move motive modifier.

Enumerator:
GO_MOD_NORMAL 
GO_MOD_VERY_BIG 
GO_MOD_BIG 
GO_MOD_SMALL 
GO_MOD_VERY_SMALL 
_GO_NU_MODIFIER 

Definition at line 98 of file GoMotive.h.

enum GoMotive

Move motives.

These motives were originally used in the Explorer Go program.

Enumerator:
GO_MOT_NONE 

Dummy motive used as placeholder.

GO_MOT_RANDOM 

Random move.

currently unused.

GO_MOT_CAPTURE 

Capture block tactically.

GO_MOT_ESCAPE 

Escape with block tactically.

GO_MOT_CONNECT 

Connect blocks or chains.

GO_MOT_CUT 

Cut chains.

GO_MOT_TO_DIVIDE 

Move to divide area.

GO_MOT_URGENT 

Urgent pattern move.

GO_MOT_EXPAND 

Expand group or zone.

GO_MOT_STABILIZE 

Stabilize block.

GO_MOT_REDUCE 

Reduce zone (or group?).

GO_MOT_DEFEND 

Defend zone.

GO_MOT_INVADE 

Invade zone.

GO_MOT_SENTE 

Sente endgame move.

GO_MOT_FORCED 

Forced reply or forced pattern move.

GO_MOT_ONEYE 

Move to make one eye.

GO_MOT_TWOEYE 

Move to make two eyes.

GO_MOT_YOSE 

Endgame move.

GO_MOT_ATTACK 

Attack group.

GO_MOT_SAVE 

Defend group.

GO_MOT_DOUBLEATARI 

Double atari.

GO_MOT_ATARI 

Dtari or other tactical threat.

GO_MOT_KOTHREAT 

Ko threat.

_GO_NU_MOTIVE 

Total number of motives.

Definition at line 16 of file GoMotive.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  out,
GoMotive  motive 
)

Definition at line 15 of file GoMotive.cpp.

std::ostream& operator<< ( std::ostream &  out,
GoModifier  modifier 
)

Definition at line 50 of file GoMotive.cpp.


Sun Mar 13 2011 Doxygen 1.7.1