FST  openfst-1.7.0
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 npath=1, bool weighted=true, bool remove_total_weight=false)
 
- Public Member Functions inherited from fst::CacheOptions
 CacheOptions (bool gc=FLAGS_fst_default_cache_gc, size_t gc_limit=FLAGS_fst_default_cache_gc_limit)
 

Public Attributes

Sampler * sampler
 
int32 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 370 of file randgen.h.

Constructor & Destructor Documentation

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

Definition at line 377 of file randgen.h.

Member Data Documentation

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

Definition at line 372 of file randgen.h.

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

Definition at line 375 of file randgen.h.

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

Definition at line 371 of file randgen.h.

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

Definition at line 373 of file randgen.h.


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