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

SpStaticMoveGenerator Class Reference

Statically assigns a value to a given move. More...

#include <SpMoveGenerator.h>

Inheritance diagram for SpStaticMoveGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SpStaticMoveGenerator (const GoBoard &board)
virtual int Score (SgPoint p)=0
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

Statically assigns a value to a given move.

Definition at line 43 of file SpMoveGenerator.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file SpMoveGenerator.h.


Member Function Documentation

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

Static move evaluation.

Implements SpMoveGenerator.

Definition at line 46 of file SpMoveGenerator.cpp.

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

void SpMoveGenerator::GenerateMoves ( SgEvaluatedMoves eval,
SgBlackWhite  toPlay 
) [virtual, inherited]
virtual int SpStaticMoveGenerator::Score ( SgPoint  p  )  [pure 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