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

SpLadderMoveGenerator Class Reference

Generates ladder captures/escapes. More...

#include <SpLadderPlayer.h>

Inheritance diagram for SpLadderMoveGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

const GoBoardm_board
 Reference to go board on which to play.

Detailed Description

Generates ladder captures/escapes.

Definition at line 15 of file SpLadderPlayer.h.


Constructor & Destructor Documentation

SpLadderMoveGenerator::SpLadderMoveGenerator ( const GoBoard board  )  [explicit]

Definition at line 19 of file SpLadderPlayer.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 SpLadderMoveGenerator::GenerateMoves ( SgEvaluatedMoves eval,
SgBlackWhite  toPlay 
) [virtual]
int SpLadderMoveGenerator::Score ( SgPoint  p  )  [virtual]

Implements SpStaticMoveGenerator.

Definition at line 19 of file SpLadderPlayer.cpp.

References SG_ASSERT, and SG_UNUSED().


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