#include <SgMpiSynchronizer.h>
Inheritance diagram for SgMpiNullSynchronizer:
Definition at line 73 of file SgMpiSynchronizer.h.
Public Member Functions | |
SgMpiNullSynchronizer () | |
virtual | ~SgMpiNullSynchronizer () |
virtual std::string | ToNodeFilename (const std::string &filename) const |
virtual bool | IsRootProcess () const |
virtual void | OnStartSearch (SgUctSearch &search) |
virtual void | OnEndSearch (SgUctSearch &search) |
virtual void | OnThreadStartSearch (SgUctSearch &search, SgUctThreadState &state) |
virtual void | OnThreadEndSearch (SgUctSearch &search, SgUctThreadState &state) |
virtual void | OnSearchIteration (SgUctSearch &search, std::size_t gameNumber, int threadId, const SgUctGameInfo &info) |
virtual void | OnStartPonder () |
virtual void | OnEndPonder () |
virtual void | WriteStatistics (std::ostream &out) const |
virtual void | SynchronizeUserAbort (bool &flag) |
virtual void | SynchronizePassWins (bool &flag) |
virtual void | SynchronizeEarlyPassPossible (bool &flag) |
virtual void | SynchronizeMove (SgMove &move) |
virtual void | SynchronizeValue (float &value) |
virtual void | SynchronizeSearchStatus (float &value, bool &earlyAbort, std::size_t &rootMoveCount) |
Static Public Member Functions | |
static SgMpiSynchronizerHandle | Create () |
SgMpiNullSynchronizer::SgMpiNullSynchronizer | ( | ) |
SgMpiNullSynchronizer::~SgMpiNullSynchronizer | ( | ) | [virtual] |
Definition at line 22 of file SgMpiSynchronizer.cpp.
SgMpiSynchronizerHandle SgMpiNullSynchronizer::Create | ( | ) | [static] |
bool SgMpiNullSynchronizer::IsRootProcess | ( | ) | const [virtual] |
void SgMpiNullSynchronizer::OnEndPonder | ( | ) | [virtual] |
void SgMpiNullSynchronizer::OnEndSearch | ( | SgUctSearch & | search | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 47 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
virtual void SgMpiNullSynchronizer::OnSearchIteration | ( | SgUctSearch & | search, | |
std::size_t | gameNumber, | |||
int | threadId, | |||
const SgUctGameInfo & | info | |||
) | [virtual] |
Implements SgMpiSynchronizer.
void SgMpiNullSynchronizer::OnStartPonder | ( | ) | [virtual] |
void SgMpiNullSynchronizer::OnStartSearch | ( | SgUctSearch & | search | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 42 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
void SgMpiNullSynchronizer::OnThreadEndSearch | ( | SgUctSearch & | search, | |
SgUctThreadState & | state | |||
) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 59 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
void SgMpiNullSynchronizer::OnThreadStartSearch | ( | SgUctSearch & | search, | |
SgUctThreadState & | state | |||
) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 52 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
void SgMpiNullSynchronizer::SynchronizeEarlyPassPossible | ( | bool & | flag | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 101 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
void SgMpiNullSynchronizer::SynchronizeMove | ( | SgMove & | move | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 107 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
void SgMpiNullSynchronizer::SynchronizePassWins | ( | bool & | flag | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 95 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
virtual void SgMpiNullSynchronizer::SynchronizeSearchStatus | ( | float & | value, | |
bool & | earlyAbort, | |||
std::size_t & | rootMoveCount | |||
) | [virtual] |
Implements SgMpiSynchronizer.
void SgMpiNullSynchronizer::SynchronizeUserAbort | ( | bool & | flag | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 90 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
void SgMpiNullSynchronizer::SynchronizeValue | ( | float & | value | ) | [virtual] |
Implements SgMpiSynchronizer.
Definition at line 112 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().
string SgMpiNullSynchronizer::ToNodeFilename | ( | const std::string & | filename | ) | const [virtual] |
void SgMpiNullSynchronizer::WriteStatistics | ( | std::ostream & | out | ) | const [virtual] |
Implements SgMpiSynchronizer.
Definition at line 85 of file SgMpiSynchronizer.cpp.
References SG_UNUSED().