Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgMpiSynchronizer Class Reference

#include <SgMpiSynchronizer.h>

Inheritance diagram for SgMpiSynchronizer:

Inheritance graph
[legend]
List of all members.

Detailed Description

Interface for mpi synchronizers.

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


Constructor & Destructor Documentation

SgMpiSynchronizer::~SgMpiSynchronizer (  )  [virtual]

Definition at line 12 of file SgMpiSynchronizer.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:


17 Jun 2010 Doxygen 1.4.7