#include <thread.hh>
Public Member Functions | |
Controller (size_t batch_size, size_t queue, size_t workers, const Filter &filter, RealOutput &output) | |
void | AddNGram (const StringPiece &ngram, const StringPiece &line, RealOutput &output) |
void | Flush () |
Definition at line 100 of file thread.hh.
lm::Controller< Filter, OutputBuffer, RealOutput >::Controller | ( | size_t | batch_size, | |
size_t | queue, | |||
size_t | workers, | |||
const Filter & | filter, | |||
RealOutput & | output | |||
) | [inline] |
void lm::Controller< Filter, OutputBuffer, RealOutput >::AddNGram | ( | const StringPiece & | ngram, | |
const StringPiece & | line, | |||
RealOutput & | output | |||
) | [inline] |
Definition at line 119 of file thread.hh.
References lm::InputBuffer::AddNGram(), and lm::InputBuffer::Size().
void lm::Controller< Filter, OutputBuffer, RealOutput >::Flush | ( | ) | [inline] |