Public Member Functions | |
SolverThread (PlayAndSolve &ps, boost::mutex &mutex, boost::barrier &barrier, const HexState &state) | |
void | operator() () |
Private Attributes | |
PlayAndSolve & | m_ps |
boost::mutex & | m_mutex |
boost::barrier & | m_barrier |
const HexState & | m_state |
Definition at line 57 of file PlayAndSolve.hpp.
PlayAndSolve::SolverThread::SolverThread | ( | PlayAndSolve & | ps, | |
boost::mutex & | mutex, | |||
boost::barrier & | barrier, | |||
const HexState & | state | |||
) | [inline] |
Definition at line 60 of file PlayAndSolve.hpp.
void PlayAndSolve::SolverThread::operator() | ( | ) |
Definition at line 71 of file PlayAndSolve.cpp.
References EMPTY, HexBoard::GetPosition(), INVALID_POINT, LogInfo(), m_barrier, m_mutex, PlayAndSolve::m_parallelResult, PlayAndSolve::m_positions, m_ps, PlayAndSolve::m_solver, PlayAndSolve::m_solverBrd, m_state, HexState::Position(), StoneBoard::SetPosition(), DfpnSolver::StartSearch(), HexState::ToPlay(), and HexPointUtil::ToString().
boost::barrier& PlayAndSolve::SolverThread::m_barrier [private] |
Definition at line 69 of file PlayAndSolve.hpp.
Referenced by operator()().
boost::mutex& PlayAndSolve::SolverThread::m_mutex [private] |
Definition at line 68 of file PlayAndSolve.hpp.
Referenced by operator()().
PlayAndSolve& PlayAndSolve::SolverThread::m_ps [private] |
Definition at line 67 of file PlayAndSolve.hpp.
Referenced by operator()().
const HexState& PlayAndSolve::SolverThread::m_state [private] |
Definition at line 70 of file PlayAndSolve.hpp.
Referenced by operator()().