Unigram_Model_Synchronizer_Helper Class Reference

#include <Unigram_Model_Synchronizer_Helper.h>

Inheritance diagram for Unigram_Model_Synchronizer_Helper:
Synchronizer_Helper

List of all members.

Public Member Functions

 Unigram_Model_Synchronizer_Helper (TypeTopicCounts &ttc, WordIndexDictionary &dict)
virtual ~Unigram_Model_Synchronizer_Helper ()
void initialize ()
bool has_to_synchronize ()
void reset_to_synchronize ()
void synchronize ()
void end_putNget (const std::string &word, const std::string &counts)

Constructor & Destructor Documentation

Unigram_Model_Synchronizer_Helper::Unigram_Model_Synchronizer_Helper ( TypeTopicCounts ttc,
WordIndexDictionary dict 
)
Unigram_Model_Synchronizer_Helper::~Unigram_Model_Synchronizer_Helper (  )  [virtual]

Member Function Documentation

void Unigram_Model_Synchronizer_Helper::end_putNget ( const std::string &  word,
const std::string &  counts 
) [virtual]

This is a callback from the Client when an async_putNget is used on the Client So when a Client is instantiated, you need to pass a reference of (*this)

Implements Synchronizer_Helper.

bool Unigram_Model_Synchronizer_Helper::has_to_synchronize (  )  [virtual]

Returns true as long as all items to be synchronized are not synchronized

Implements Synchronizer_Helper.

void Unigram_Model_Synchronizer_Helper::initialize (  )  [virtual]

Implements Synchronizer_Helper.

void Unigram_Model_Synchronizer_Helper::reset_to_synchronize (  )  [virtual]

After this call, has_to_synchronize() should return true

Implements Synchronizer_Helper.

void Unigram_Model_Synchronizer_Helper::synchronize (  )  [virtual]

Implements Synchronizer_Helper.


The documentation for this class was generated from the following files:
Generated on Tue Jul 19 11:45:29 2011 for Y!LDA by  doxygen 1.6.3