Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Protected Attributes

SpLibertyMoveGenerator Class Reference

Tries to capture and escape with low liberty stones Blocks with few liberties are very important to this player. More...

#include <SpLibertyPlayer.h>

Inheritance diagram for SpLibertyMoveGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SpLibertyMoveGenerator (const GoBoard &board)
int Score (SgPoint p)
int EvaluateMove (SgPoint p)
 Static move evaluation.
virtual void GenerateMoves (SgEvaluatedMoves &eval, SgBlackWhite toPlay)

Protected Attributes

const GoBoardm_board
 Reference to go board on which to play.

Detailed Description

Tries to capture and escape with low liberty stones Blocks with few liberties are very important to this player.

Definition at line 16 of file SpLibertyPlayer.h.


Constructor & Destructor Documentation

SpLibertyMoveGenerator::SpLibertyMoveGenerator ( const GoBoard board  ) 

Definition at line 20 of file SpLibertyPlayer.h.


Member Function Documentation

int SpStaticMoveGenerator::EvaluateMove ( SgPoint  p  )  [virtual, inherited]

Static move evaluation.

Implements SpMoveGenerator.

Definition at line 46 of file SpMoveGenerator.cpp.

References GoBoard::IsLegal(), SpMoveGenerator::m_board, and SpStaticMoveGenerator::Score().

void SpMoveGenerator::GenerateMoves ( SgEvaluatedMoves eval,
SgBlackWhite  toPlay 
) [virtual, inherited]
int SpLibertyMoveGenerator::Score ( SgPoint  p  )  [virtual]

Member Data Documentation

const GoBoard& SpMoveGenerator::m_board [protected, inherited]

The documentation for this class was generated from the following files:


Sun Mar 13 2011 Doxygen 1.7.1