TRF Language Model
trf::RandSeq< Type > Class Template Reference

#include <trf-corpus.h>

Public Member Functions

 RandSeq ()
 
 RandSeq (Array< Type > &a)
 
void Random ()
 Random the sequence. More...
 
void Add (Type t)
 add a value More...
 
Type Get ()
 Get a value. More...
 

Protected Attributes

Array< Type > m_aSeq
 
int m_nCur
 

Detailed Description

template<class Type>
class trf::RandSeq< Type >

Definition at line 105 of file trf-corpus.h.

Constructor & Destructor Documentation

§ RandSeq() [1/2]

template<class Type >
trf::RandSeq< Type >::RandSeq ( )
inline

Definition at line 111 of file trf-corpus.h.

§ RandSeq() [2/2]

template<class Type >
trf::RandSeq< Type >::RandSeq ( Array< Type > &  a)
inline

Definition at line 112 of file trf-corpus.h.

Member Function Documentation

§ Add()

template<class Type >
void trf::RandSeq< Type >::Add ( Type  t)
inline

add a value

Definition at line 126 of file trf-corpus.h.

§ Get()

template<class Type >
Type trf::RandSeq< Type >::Get ( )
inline

Get a value.

Definition at line 128 of file trf-corpus.h.

§ Random()

template<class Type >
void trf::RandSeq< Type >::Random ( )
inline

Random the sequence.

Definition at line 114 of file trf-corpus.h.

Member Data Documentation

§ m_aSeq

template<class Type >
Array<Type> trf::RandSeq< Type >::m_aSeq
protected

Definition at line 108 of file trf-corpus.h.

§ m_nCur

template<class Type >
int trf::RandSeq< Type >::m_nCur
protected

Definition at line 109 of file trf-corpus.h.


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