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

#include <randgen.h>

Public Member Functions

 RandGenOptions (const Selector &selector, int32 max_length=std::numeric_limits< int32 >::max(), int32 npath=1, bool weighted=false, bool remove_total_weight=false)
 

Public Attributes

const Selector & selector
 
int32 max_length
 
int32 npath
 
bool weighted
 
bool remove_total_weight
 

Detailed Description

template<class Selector>
struct fst::RandGenOptions< Selector >

Definition at line 633 of file randgen.h.

Constructor & Destructor Documentation

template<class Selector>
fst::RandGenOptions< Selector >::RandGenOptions ( const Selector &  selector,
int32  max_length = std::numeric_limits<int32>::max(),
int32  npath = 1,
bool  weighted = false,
bool  remove_total_weight = false 
)
inlineexplicit

Definition at line 641 of file randgen.h.

Member Data Documentation

template<class Selector>
int32 fst::RandGenOptions< Selector >::max_length

Definition at line 635 of file randgen.h.

template<class Selector>
int32 fst::RandGenOptions< Selector >::npath

Definition at line 636 of file randgen.h.

template<class Selector>
bool fst::RandGenOptions< Selector >::remove_total_weight

Definition at line 639 of file randgen.h.

template<class Selector>
const Selector& fst::RandGenOptions< Selector >::selector

Definition at line 634 of file randgen.h.

template<class Selector>
bool fst::RandGenOptions< Selector >::weighted

Definition at line 637 of file randgen.h.


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