FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | Public Attributes | List of all members
fst::RandState< Arc > Struct Template Reference

#include <randgen.h>

Public Types

using StateId = typename Arc::StateId
 

Public Member Functions

 RandState (StateId state_id, size_t nsamples=0, size_t length=0, size_t select=0, const RandState< Arc > *parent=nullptr)
 
 RandState ()
 

Public Attributes

StateId state_id
 
size_t nsamples
 
size_t length
 
size_t select
 
const RandState< Arc > * parent
 

Detailed Description

template<typename Arc>
struct fst::RandState< Arc >

Definition at line 161 of file randgen.h.

Member Typedef Documentation

template<typename Arc>
using fst::RandState< Arc >::StateId = typename Arc::StateId

Definition at line 162 of file randgen.h.

Constructor & Destructor Documentation

template<typename Arc>
fst::RandState< Arc >::RandState ( StateId  state_id,
size_t  nsamples = 0,
size_t  length = 0,
size_t  select = 0,
const RandState< Arc > *  parent = nullptr 
)
inlineexplicit

Definition at line 170 of file randgen.h.

template<typename Arc>
fst::RandState< Arc >::RandState ( )
inline

Definition at line 178 of file randgen.h.

Member Data Documentation

template<typename Arc>
size_t fst::RandState< Arc >::length

Definition at line 166 of file randgen.h.

template<typename Arc>
size_t fst::RandState< Arc >::nsamples

Definition at line 165 of file randgen.h.

template<typename Arc>
const RandState<Arc>* fst::RandState< Arc >::parent

Definition at line 168 of file randgen.h.

template<typename Arc>
size_t fst::RandState< Arc >::select

Definition at line 167 of file randgen.h.

template<typename Arc>
StateId fst::RandState< Arc >::state_id

Definition at line 164 of file randgen.h.


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