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

GoUctDefaultRootFilter Class Reference

Default root filter used by GoUctPlayer. More...

#include <GoUctDefaultRootFilter.h>

Inheritance diagram for GoUctDefaultRootFilter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GoUctDefaultRootFilter (const GoBoard &bd)
Pure virtual functions of GoUctRootFilter

std::vector< SgPointGet ()
 Get moves to filter in the current position.
Parameters

bool CheckLadders () const
 Prune unsuccesful ladder defense moves (unless the ladder would be short).
void SetCheckLadders (bool enable)
 See CheckLadders().

Private Attributes

const GoBoardm_bd
GoLadder m_ladder
bool m_checkLadders
 See CheckLadders().
int m_minLadderLength
 Minimum ladder length necessary to prune loosing ladder defense moves.
SgVector< SgPointm_ladderSequence
 Local variable in Get().

Detailed Description

Default root filter used by GoUctPlayer.

Definition at line 16 of file GoUctDefaultRootFilter.h.


Constructor & Destructor Documentation

GoUctDefaultRootFilter::GoUctDefaultRootFilter ( const GoBoard bd  ) 

Definition at line 47 of file GoUctDefaultRootFilter.cpp.


Member Function Documentation

bool GoUctDefaultRootFilter::CheckLadders (  )  const

Prune unsuccesful ladder defense moves (unless the ladder would be short).

Definition at line 62 of file GoUctDefaultRootFilter.h.

References m_checkLadders.

Referenced by GoUctCommands::CmdParamRootFilter().

vector< SgPoint > GoUctDefaultRootFilter::Get (  )  [virtual]
void GoUctDefaultRootFilter::SetCheckLadders ( bool  enable  ) 

See CheckLadders().

Definition at line 67 of file GoUctDefaultRootFilter.h.

References m_checkLadders.

Referenced by GoUctCommands::CmdParamRootFilter().


Member Data Documentation

Definition at line 46 of file GoUctDefaultRootFilter.h.

Referenced by Get().

See CheckLadders().

Definition at line 51 of file GoUctDefaultRootFilter.h.

Referenced by CheckLadders(), Get(), and SetCheckLadders().

Definition at line 48 of file GoUctDefaultRootFilter.h.

Referenced by Get().

Local variable in Get().

Reused for efficiency.

Definition at line 59 of file GoUctDefaultRootFilter.h.

Referenced by Get().

Minimum ladder length necessary to prune loosing ladder defense moves.

See also:
m_checkLadders

Definition at line 55 of file GoUctDefaultRootFilter.h.

Referenced by Get().


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


Sun Mar 13 2011 Doxygen 1.7.1