Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

DfpnChildren Class Reference
[Depth-First Proof Number Search]

Children of a dfpn state. More...

#include <DfpnSolver.hpp>

List of all members.

Public Member Functions

 DfpnChildren ()
void SetChildren (const std::vector< HexPoint > &children)
std::size_t Size () const
HexPoint FirstMove (int index) const
void PlayMove (int index, HexState &state) const
void UndoMove (int index, HexState &state) const

Private Attributes

std::vector< HexPointm_children

Friends

class DfpnData
class DfpnSolver

Detailed Description

Children of a dfpn state.

Definition at line 160 of file DfpnSolver.hpp.


Constructor & Destructor Documentation

DfpnChildren::DfpnChildren (  ) 

Definition at line 49 of file DfpnSolver.cpp.


Member Function Documentation

HexPoint DfpnChildren::FirstMove ( int  index  )  const [inline]

Definition at line 187 of file DfpnSolver.hpp.

References m_children.

Referenced by DfpnSolver::GuiFx::DoWrite(), DfpnSolver::MID(), and PerfectPlayer::Search().

void DfpnChildren::PlayMove ( int  index,
HexState state 
) const

Definition at line 58 of file DfpnSolver.cpp.

References m_children, and HexState::PlayMove().

Referenced by DfpnSolver::LookupData(), DfpnSolver::MID(), and PerfectPlayer::Search().

void DfpnChildren::SetChildren ( const std::vector< HexPoint > &  children  ) 

Definition at line 53 of file DfpnSolver.cpp.

References m_children.

Referenced by DfpnSolver::MID(), and DfpnData::Unpack().

std::size_t DfpnChildren::Size (  )  const [inline]
void DfpnChildren::UndoMove ( int  index,
HexState state 
) const

Definition at line 63 of file DfpnSolver.cpp.

References m_children, and HexState::UndoMove().

Referenced by DfpnSolver::LookupData(), DfpnSolver::MID(), and PerfectPlayer::Search().


Friends And Related Function Documentation

friend class DfpnData [friend]

Definition at line 176 of file DfpnSolver.hpp.

friend class DfpnSolver [friend]

Definition at line 177 of file DfpnSolver.hpp.


Member Data Documentation

std::vector<HexPoint> DfpnChildren::m_children [private]

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


6 Jan 2011 Doxygen 1.6.3