#include <SgMpiSynchronizer.h>
Inheritance diagram for SgMpiSynchronizer:
Definition at line 24 of file SgMpiSynchronizer.h.
Public Member Functions | |
virtual | ~SgMpiSynchronizer () |
virtual std::string | ToNodeFilename (const std::string &filename) const =0 |
virtual bool | IsRootProcess () const =0 |
virtual void | OnStartSearch (SgUctSearch &search)=0 |
virtual void | OnEndSearch (SgUctSearch &search)=0 |
virtual void | OnThreadStartSearch (SgUctSearch &search, SgUctThreadState &state)=0 |
virtual void | OnThreadEndSearch (SgUctSearch &search, SgUctThreadState &state)=0 |
virtual void | OnSearchIteration (SgUctSearch &search, std::size_t gameNumber, int threadId, const SgUctGameInfo &info)=0 |
virtual void | OnStartPonder ()=0 |
virtual void | OnEndPonder ()=0 |
virtual void | WriteStatistics (std::ostream &out) const =0 |
virtual void | SynchronizeUserAbort (bool &flag)=0 |
virtual void | SynchronizePassWins (bool &flag)=0 |
virtual void | SynchronizeEarlyPassPossible (bool &flag)=0 |
virtual void | SynchronizeMove (SgMove &move)=0 |
virtual void | SynchronizeValue (float &value)=0 |
virtual void | SynchronizeSearchStatus (float &value, bool &earlyAbort, std::size_t &rootMoveCount)=0 |
SgMpiSynchronizer::~SgMpiSynchronizer | ( | ) | [virtual] |
Definition at line 12 of file SgMpiSynchronizer.cpp.
virtual bool SgMpiSynchronizer::IsRootProcess | ( | ) | const [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnEndPonder | ( | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnEndSearch | ( | SgUctSearch & | search | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnSearchIteration | ( | SgUctSearch & | search, | |
std::size_t | gameNumber, | |||
int | threadId, | |||
const SgUctGameInfo & | info | |||
) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnStartPonder | ( | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnStartSearch | ( | SgUctSearch & | search | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnThreadEndSearch | ( | SgUctSearch & | search, | |
SgUctThreadState & | state | |||
) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::OnThreadStartSearch | ( | SgUctSearch & | search, | |
SgUctThreadState & | state | |||
) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::SynchronizeEarlyPassPossible | ( | bool & | flag | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::SynchronizeMove | ( | SgMove & | move | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::SynchronizePassWins | ( | bool & | flag | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::SynchronizeSearchStatus | ( | float & | value, | |
bool & | earlyAbort, | |||
std::size_t & | rootMoveCount | |||
) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::SynchronizeUserAbort | ( | bool & | flag | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::SynchronizeValue | ( | float & | value | ) | [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual std::string SgMpiSynchronizer::ToNodeFilename | ( | const std::string & | filename | ) | const [pure virtual] |
Implemented in SgMpiNullSynchronizer.
virtual void SgMpiSynchronizer::WriteStatistics | ( | std::ostream & | out | ) | const [pure virtual] |
Implemented in SgMpiNullSynchronizer.