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

#include <factor-weight.h>

Inheritance diagram for fst::FactorWeightOptions< Arc >:
Inheritance graph
[legend]
Collaboration diagram for fst::FactorWeightOptions< Arc >:
Collaboration graph
[legend]

Public Types

using Label = typename Arc::Label
 

Public Member Functions

 FactorWeightOptions (const CacheOptions &opts, float delta=kDelta, uint32 mode=kFactorArcWeights|kFactorFinalWeights, Label final_ilabel=0, Label final_olabel=0, bool increment_final_ilabel=false, bool increment_final_olabel=false)
 
 FactorWeightOptions (float delta=kDelta, uint32 mode=kFactorArcWeights|kFactorFinalWeights, Label final_ilabel=0, Label final_olabel=0, bool increment_final_ilabel=false, bool increment_final_olabel=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

float delta
 
uint32 mode
 
Label final_ilabel
 
Label final_olabel
 
bool increment_final_ilabel
 
bool increment_final_olabel
 
- Public Attributes inherited from fst::CacheOptions
bool gc
 
size_t gc_limit
 

Detailed Description

template<class Arc>
struct fst::FactorWeightOptions< Arc >

Definition at line 27 of file factor-weight.h.

Member Typedef Documentation

template<class Arc>
using fst::FactorWeightOptions< Arc >::Label = typename Arc::Label

Definition at line 28 of file factor-weight.h.

Constructor & Destructor Documentation

template<class Arc>
fst::FactorWeightOptions< Arc >::FactorWeightOptions ( const CacheOptions opts,
float  delta = kDelta,
uint32  mode = kFactorArcWeights | kFactorFinalWeights,
Label  final_ilabel = 0,
Label  final_olabel = 0,
bool  increment_final_ilabel = false,
bool  increment_final_olabel = false 
)
inlineexplicit

Definition at line 37 of file factor-weight.h.

template<class Arc>
fst::FactorWeightOptions< Arc >::FactorWeightOptions ( float  delta = kDelta,
uint32  mode = kFactorArcWeights | kFactorFinalWeights,
Label  final_ilabel = 0,
Label  final_olabel = 0,
bool  increment_final_ilabel = false,
bool  increment_final_olabel = false 
)
inlineexplicit

Definition at line 51 of file factor-weight.h.

Member Data Documentation

template<class Arc>
float fst::FactorWeightOptions< Arc >::delta

Definition at line 30 of file factor-weight.h.

template<class Arc>
Label fst::FactorWeightOptions< Arc >::final_ilabel

Definition at line 32 of file factor-weight.h.

template<class Arc>
Label fst::FactorWeightOptions< Arc >::final_olabel

Definition at line 33 of file factor-weight.h.

template<class Arc>
bool fst::FactorWeightOptions< Arc >::increment_final_ilabel

Definition at line 34 of file factor-weight.h.

template<class Arc>
bool fst::FactorWeightOptions< Arc >::increment_final_olabel

Definition at line 35 of file factor-weight.h.

template<class Arc>
uint32 fst::FactorWeightOptions< Arc >::mode

Definition at line 31 of file factor-weight.h.


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