Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SolverDBUtil Namespace Reference

Functions

template<class HASH , class DB , class DATA >
void GetVariation (const HexState &state, SolverDB< HASH, DB, DATA > &positions, PointSequence &pv)
 Follows best move in DATA to create a variation.

Function Documentation

template<class HASH , class DB , class DATA >
void SolverDBUtil::GetVariation ( const HexState state,
SolverDB< HASH, DB, DATA > &  positions,
PointSequence pv 
) [inline]

Follows best move in DATA to create a variation.

Variation ends when it hits a best move of INVALID_POINT or the move is not found in the database.

Definition at line 175 of file SolverDB.hpp.

References SolverDB< HASH, DB, DATA >::Get(), and INVALID_POINT.

Referenced by DfsCommands::CmdGetPV(), DfpnCommands::CmdGetPV(), DfsSolver::Solve(), and DfpnSolver::StartSearch().


6 Jan 2011 Doxygen 1.6.3