FST  openfst-1.8.3
OpenFst Library
Public Member Functions | Public Attributes | List of all members
fst::RandGenFstOptions< Sampler > Struct Template Reference

#include <randgen.h>

Inheritance diagram for fst::RandGenFstOptions< Sampler >:
Inheritance graph
[legend]
Collaboration diagram for fst::RandGenFstOptions< Sampler >:
Collaboration graph
[legend]

Public Member Functions

 RandGenFstOptions (const CacheOptions &opts, Sampler *sampler, int32_t npath=1, bool weighted=true, bool remove_total_weight=false)
 
- Public Member Functions inherited from fst::CacheOptions
 CacheOptions (bool gc=FST_FLAGS_fst_default_cache_gc, size_t gc_limit=FST_FLAGS_fst_default_cache_gc_limit)
 

Public Attributes

Sampler * sampler
 
int32_t npath
 
bool weighted
 
bool remove_total_weight
 
- Public Attributes inherited from fst::CacheOptions
bool gc
 
size_t gc_limit
 

Detailed Description

template<class Sampler>
struct fst::RandGenFstOptions< Sampler >

Definition at line 398 of file randgen.h.

Constructor & Destructor Documentation

template<class Sampler>
fst::RandGenFstOptions< Sampler >::RandGenFstOptions ( const CacheOptions opts,
Sampler *  sampler,
int32_t  npath = 1,
bool  weighted = true,
bool  remove_total_weight = false 
)
inline

Definition at line 405 of file randgen.h.

Member Data Documentation

template<class Sampler>
int32_t fst::RandGenFstOptions< Sampler >::npath

Definition at line 400 of file randgen.h.

template<class Sampler>
bool fst::RandGenFstOptions< Sampler >::remove_total_weight

Definition at line 403 of file randgen.h.

template<class Sampler>
Sampler* fst::RandGenFstOptions< Sampler >::sampler

Definition at line 399 of file randgen.h.

template<class Sampler>
bool fst::RandGenFstOptions< Sampler >::weighted

Definition at line 401 of file randgen.h.


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