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. |
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().