Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

DfpnData Class Reference
[Depth-First Proof Number Search]

State in hashtable. More...

#include <DfpnSolver.hpp>

List of all members.

Public Member Functions

 DfpnData ()
 DfpnData (const DfpnBounds &bounds, const DfpnChildren &children, HexPoint bestMove, size_t work, bitset_t maxProofSet, float evaluationScore)
 ~DfpnData ()
std::string Print () const
TransTableStateConcept

bool Initialized () const
bool ReplaceWith (const DfpnData &data) const
PositionDBStateConcept

int PackedSize () const
bytePack () const
void Unpack (const byte *data)
void Rotate (const ConstBoard &brd)

Public Attributes

DfpnBounds m_bounds
DfpnChildren m_children
HexPoint m_bestMove
size_t m_work
bitset_t m_maxProofSet
float m_evaluationScore

Private Attributes

bool m_initialized

Detailed Description

State in hashtable.

Do not forget to update DFPN_DB_VERSION if this class changes in a way that invalidiates old databases.

Definition at line 199 of file DfpnSolver.hpp.


Constructor & Destructor Documentation

DfpnData::DfpnData (  )  [inline]

Definition at line 253 of file DfpnSolver.hpp.

DfpnData::DfpnData ( const DfpnBounds bounds,
const DfpnChildren children,
HexPoint  bestMove,
size_t  work,
bitset_t  maxProofSet,
float  evaluationScore 
) [inline]

Definition at line 258 of file DfpnSolver.hpp.

DfpnData::~DfpnData (  )  [inline]

Definition at line 272 of file DfpnSolver.hpp.


Member Function Documentation

bool DfpnData::Initialized (  )  const [inline]

Definition at line 296 of file DfpnSolver.hpp.

References m_initialized.

byte * DfpnData::Pack (  )  const
int DfpnData::PackedSize (  )  const

Definition at line 172 of file DfpnSolver.cpp.

References m_bestMove, m_bounds, m_children, m_evaluationScore, m_maxProofSet, m_work, and DfpnChildren::Size().

Referenced by Pack().

std::string DfpnData::Print (  )  const [inline]

Definition at line 276 of file DfpnSolver.hpp.

References m_bestMove, m_bounds, m_children, m_evaluationScore, m_work, and DfpnChildren::Size().

Referenced by operator<<().

bool DfpnData::ReplaceWith ( const DfpnData data  )  const [inline]

Definition at line 290 of file DfpnSolver.hpp.

void DfpnData::Rotate ( const ConstBoard brd  ) 
void DfpnData::Unpack ( const byte data  ) 

Member Data Documentation

Definition at line 207 of file DfpnSolver.hpp.

Referenced by Pack(), PackedSize(), Print(), Rotate(), and Unpack().

Definition at line 213 of file DfpnSolver.hpp.

Referenced by DfpnSolver::MID(), Pack(), PackedSize(), Print(), and Unpack().

bool DfpnData::m_initialized [private]

Definition at line 249 of file DfpnSolver.hpp.

Referenced by Initialized().

Definition at line 211 of file DfpnSolver.hpp.

Referenced by DfpnSolver::MID(), Pack(), PackedSize(), Rotate(), and Unpack().


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


6 Jan 2011 Doxygen 1.6.3