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

SpMoveGenerator Class Reference

Simple move generators. More...

#include <SpMoveGenerator.h>

Inheritance diagram for SpMoveGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SpMoveGenerator (const GoBoard &board)
virtual ~SpMoveGenerator ()
virtual void GenerateMoves (SgEvaluatedMoves &eval, SgBlackWhite toPlay)
virtual int EvaluateMove (SgPoint p)=0
 Execute move if necessary, and then score.

Protected Member Functions

 SpMoveGenerator (const SpMoveGenerator &)
 Not implemented.
SpMoveGeneratoroperator= (const SpMoveGenerator &)
 Not implemented.

Protected Attributes

const GoBoardm_board
 Reference to go board on which to play.

Detailed Description

Simple move generators.

Either static or 1-ply lookahead

Definition at line 17 of file SpMoveGenerator.h.


Constructor & Destructor Documentation

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

Definition at line 20 of file SpMoveGenerator.h.

virtual SpMoveGenerator::~SpMoveGenerator (  )  [virtual]

Definition at line 24 of file SpMoveGenerator.h.

SpMoveGenerator::SpMoveGenerator ( const SpMoveGenerator  )  [protected]

Not implemented.


Member Function Documentation

virtual int SpMoveGenerator::EvaluateMove ( SgPoint  p  )  [pure virtual]

Execute move if necessary, and then score.

Implemented in SpStaticMoveGenerator, and Sp1PlyMoveGenerator.

Referenced by GenerateMoves(), and SpSimplePlayer::MoveValue().

void SpMoveGenerator::GenerateMoves ( SgEvaluatedMoves eval,
SgBlackWhite  toPlay 
) [virtual]
SpMoveGenerator& SpMoveGenerator::operator= ( const SpMoveGenerator  )  [protected]

Not implemented.


Member Data Documentation

const GoBoard& SpMoveGenerator::m_board [protected]

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


Sun Mar 13 2011 Doxygen 1.7.1