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

SpMaxEyeMoveGenerator Class Reference

Tries to maximize simple eye score of any point. More...

#include <SpMaxEyePlayer.h>

Inheritance diagram for SpMaxEyeMoveGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SpMaxEyeMoveGenerator (const GoBoard &board, bool eyego=false)
int Evaluate ()
float Heuristic (SgPoint p, SgBlackWhite color)
int EvaluateMove (SgPoint p)
 Execute move, then evaluate board.
virtual void GenerateMoves (SgEvaluatedMoves &eval, SgBlackWhite toPlay)

Protected Attributes

const GoBoardm_board
 Reference to go board on which to play.

Private Attributes

bool m_eyeGo

Detailed Description

Tries to maximize simple eye score of any point.

Definition at line 18 of file SpMaxEyePlayer.h.


Constructor & Destructor Documentation

SpMaxEyeMoveGenerator::SpMaxEyeMoveGenerator ( const GoBoard board,
bool  eyego = false 
)

Definition at line 22 of file SpMaxEyePlayer.h.


Member Function Documentation

int SpMaxEyeMoveGenerator::Evaluate (  )  [virtual]
int Sp1PlyMoveGenerator::EvaluateMove ( SgPoint  p  )  [virtual, inherited]

Execute move, then evaluate board.

Implements SpMoveGenerator.

Definition at line 35 of file SpMoveGenerator.cpp.

References GoModBoard::Board(), Sp1PlyMoveGenerator::Evaluate(), GoMoveExecutor::IsLegal(), and SpMoveGenerator::m_board.

void SpMoveGenerator::GenerateMoves ( SgEvaluatedMoves eval,
SgBlackWhite  toPlay 
) [virtual, inherited]
float SpMaxEyeMoveGenerator::Heuristic ( SgPoint  p,
SgBlackWhite  color 
)

Member Data Documentation

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

Definition at line 31 of file SpMaxEyePlayer.h.

Referenced by Evaluate().


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


Sun Mar 13 2011 Doxygen 1.7.1