ugdiss::L2R_Token< T > Class Template Reference

#include <ug_corpus_token.h>

List of all members.

Public Types

typedef T Token

Public Member Functions

 L2R_Token ()
 L2R_Token (id_type id)
L2R_Token const * next (int n=1) const
template<typename TTRACK_TYPE >
L2R_Token const * stop (TTRACK_TYPE const &C, id_type sid) const
L2R_Token const * stop (L2R_Token const *seqStart, L2R_Token const *seqEnd) const
bool operator< (T const &other) const
bool operator> (T const &other) const
bool operator== (T const &other) const
bool operator!= (T const &other) const


Detailed Description

template<typename T>
class ugdiss::L2R_Token< T >

Token class for suffix arrays

Definition at line 35 of file ug_corpus_token.h.


Member Typedef Documentation

template<typename T >
typedef T ugdiss::L2R_Token< T >::Token

Definition at line 39 of file ug_corpus_token.h.


Constructor & Destructor Documentation

template<typename T >
ugdiss::L2R_Token< T >::L2R_Token (  )  [inline]

Definition at line 41 of file ug_corpus_token.h.

template<typename T >
ugdiss::L2R_Token< T >::L2R_Token ( id_type  id  )  [inline]

Definition at line 42 of file ug_corpus_token.h.


Member Function Documentation

template<typename T >
L2R_Token const* ugdiss::L2R_Token< T >::next ( int  n = 1  )  const [inline]

template<typename T >
bool ugdiss::L2R_Token< T >::operator!= ( T const &  other  )  const [inline]

Definition at line 62 of file ug_corpus_token.h.

template<typename T >
bool ugdiss::L2R_Token< T >::operator< ( T const &  other  )  const [inline]

Definition at line 59 of file ug_corpus_token.h.

template<typename T >
bool ugdiss::L2R_Token< T >::operator== ( T const &  other  )  const [inline]

Definition at line 61 of file ug_corpus_token.h.

template<typename T >
bool ugdiss::L2R_Token< T >::operator> ( T const &  other  )  const [inline]

Definition at line 60 of file ug_corpus_token.h.

template<typename T >
L2R_Token const* ugdiss::L2R_Token< T >::stop ( L2R_Token< T > const *  seqStart,
L2R_Token< T > const *  seqEnd 
) const [inline]

Definition at line 54 of file ug_corpus_token.h.

template<typename T >
template<typename TTRACK_TYPE >
L2R_Token const* ugdiss::L2R_Token< T >::stop ( TTRACK_TYPE const &  C,
id_type  sid 
) const [inline]

return a pointer to the end of a sentence; used as a stopping criterion during comparison of suffixes; see Ttrack::cmp()

Definition at line 49 of file ug_corpus_token.h.

Referenced by ugdiss::TSA< TKN >::setTokenBits().

Here is the caller graph for this function:


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

Generated on Sun Aug 9 00:34:28 2015 for Moses by  doxygen 1.5.9