FST  openfst-1.8.3
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, uint8_t 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, uint8_t 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=FST_FLAGS_fst_default_cache_gc, size_t gc_limit=FST_FLAGS_fst_default_cache_gc_limit)
 

Public Attributes

float delta
 
uint8_t 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 47 of file factor-weight.h.

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

template<class Arc>
fst::FactorWeightOptions< Arc >::FactorWeightOptions ( const CacheOptions opts,
float  delta = kDelta,
uint8_t  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 57 of file factor-weight.h.

template<class Arc>
fst::FactorWeightOptions< Arc >::FactorWeightOptions ( float  delta = kDelta,
uint8_t  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 71 of file factor-weight.h.

Member Data Documentation

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

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

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

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

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

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

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

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

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

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

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

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


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