Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

BookBuilder< PLAYER >::Worker Class Reference

Copyable worker. More...

List of all members.

Public Member Functions

 Worker (std::size_t id, BenzenePlayer &player, HexBoard &brd)
void SetState (const HexState &state)
float operator() (const SgMove &move)

Private Attributes

std::size_t m_id
HexBoardm_brd
BenzenePlayerm_player
HexState m_state

Detailed Description

template<class PLAYER>
class BookBuilder< PLAYER >::Worker

Copyable worker.

Definition at line 124 of file BookBuilder.hpp.


Constructor & Destructor Documentation

template<class PLAYER >
BookBuilder< PLAYER >::Worker::Worker ( std::size_t  id,
BenzenePlayer player,
HexBoard brd 
) [inline]

Definition at line 291 of file BookBuilder.hpp.


Member Function Documentation

template<class PLAYER >
float BookBuilder< PLAYER >::Worker::operator() ( const SgMove &  move  )  [inline]
template<class PLAYER >
void BookBuilder< PLAYER >::Worker::SetState ( const HexState state  )  [inline]

Definition at line 301 of file BookBuilder.hpp.

References BookBuilder< PLAYER >::Worker::m_state.


Member Data Documentation

template<class PLAYER>
HexBoard* BookBuilder< PLAYER >::Worker::m_brd [private]

Definition at line 137 of file BookBuilder.hpp.

Referenced by BookBuilder< PLAYER >::Worker::operator()().

template<class PLAYER>
std::size_t BookBuilder< PLAYER >::Worker::m_id [private]

Definition at line 135 of file BookBuilder.hpp.

template<class PLAYER>
BenzenePlayer* BookBuilder< PLAYER >::Worker::m_player [private]

Definition at line 139 of file BookBuilder.hpp.

Referenced by BookBuilder< PLAYER >::Worker::operator()().

template<class PLAYER>
HexState BookBuilder< PLAYER >::Worker::m_state [private]

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


6 Jan 2011 Doxygen 1.6.3