Moses::bitext::Bitext< TKN >::agenda::job Class Reference

#include <ug_bitext.h>

Collaboration diagram for Moses::bitext::Bitext< TKN >::agenda::job:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool nextSample (uint64_t &sid, uint64_t &offset)
int check_sample_distribution (uint64_t const &sid, uint64_t const &offset)
bool done () const
 job (Bitext< Token > const *const theBitext, typename TSA< Token >::tree_iterator const &m, SPTR< TSA< Token > > const &r, size_t maxsmpl, bool isfwd, SPTR< SamplingBias const > const &bias)
 ~job ()

Public Attributes

size_t workers
SPTR< TSA< Token > const > root
char const * next
char const * stop
size_t max_samples
size_t ctr
size_t len
bool fwd
SPTR< pstatsstats
SPTR< SamplingBias const > const m_bias
float bias_total

Friends

class agenda


Detailed Description

template<typename TKN>
class Moses::bitext::Bitext< TKN >::agenda::job

Definition at line 387 of file ug_bitext.h.


Constructor & Destructor Documentation

template<typename Token >
Bitext::agenda< Token >::job::job ( Bitext< Token > const *const   theBitext,
typename TSA< Token >::tree_iterator const &  m,
SPTR< TSA< Token > > const &  r,
size_t  maxsmpl,
bool  isfwd,
SPTR< SamplingBias const > const &  bias 
) [inline]

Definition at line 446 of file ug_bitext.h.

References Moses::bitext::find_po_bwd(), Moses::bitext::find_po_fwd(), and stop.

Here is the call graph for this function:

template<typename Token >
Bitext::agenda< Token >::job::~job (  )  [inline]

Definition at line 435 of file ug_bitext.h.


Member Function Documentation

template<typename Token >
int Bitext::agenda< Token >::job::check_sample_distribution ( uint64_t const &  sid,
uint64_t const &  offset 
) [inline]

template<typename Token >
bool Bitext::agenda< Token >::job::done (  )  const [inline]

Definition at line 498 of file ug_bitext.h.

References Moses::bitext::Bitext< TKN >::m_default_sample_size, and Moses::bitext::Bitext< TKN >::prep2().

Here is the call graph for this function:

template<typename Token >
bool Bitext::agenda< Token >::job::nextSample ( uint64_t &  sid,
uint64_t &  offset 
) [inline]

Definition at line 602 of file ug_bitext.h.


Friends And Related Function Documentation

template<typename TKN>
friend class agenda [friend]

Definition at line 396 of file ug_bitext.h.


Member Data Documentation

template<typename TKN>
float Moses::bitext::Bitext< TKN >::agenda::job::bias_total

Definition at line 417 of file ug_bitext.h.

template<typename TKN>
size_t Moses::bitext::Bitext< TKN >::agenda::job::ctr

Definition at line 410 of file ug_bitext.h.

template<typename TKN>
bool Moses::bitext::Bitext< TKN >::agenda::job::fwd

Definition at line 414 of file ug_bitext.h.

template<typename TKN>
size_t Moses::bitext::Bitext< TKN >::agenda::job::len

Definition at line 413 of file ug_bitext.h.

template<typename TKN>
SPTR<SamplingBias const> const Moses::bitext::Bitext< TKN >::agenda::job::m_bias

Definition at line 416 of file ug_bitext.h.

template<typename TKN>
size_t Moses::bitext::Bitext< TKN >::agenda::job::max_samples

Definition at line 409 of file ug_bitext.h.

template<typename TKN>
char const* Moses::bitext::Bitext< TKN >::agenda::job::next

Definition at line 407 of file ug_bitext.h.

template<typename TKN>
SPTR<TSA<Token> const> Moses::bitext::Bitext< TKN >::agenda::job::root

Definition at line 406 of file ug_bitext.h.

template<typename TKN>
SPTR<pstats> Moses::bitext::Bitext< TKN >::agenda::job::stats

Definition at line 415 of file ug_bitext.h.

template<typename TKN>
char const* Moses::bitext::Bitext< TKN >::agenda::job::stop

Definition at line 408 of file ug_bitext.h.

template<typename TKN>
size_t Moses::bitext::Bitext< TKN >::agenda::job::workers

Definition at line 405 of file ug_bitext.h.


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

Generated on Sun Aug 9 00:33:47 2015 for Moses by  doxygen 1.5.9