FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::WeightGenerate< UnionWeight< W, O > > Class Template Reference

#include <union-weight.h>

Public Types

using Weight = UnionWeight< W, O >
 
using Generate = WeightGenerate< W >
 

Public Member Functions

 WeightGenerate (bool allow_zero=true, size_t num_random_weights=kNumRandomWeights)
 
Weight operator() () const
 

Detailed Description

template<class W, class O>
class fst::WeightGenerate< UnionWeight< W, O > >

Definition at line 474 of file union-weight.h.

Member Typedef Documentation

template<class W , class O >
using fst::WeightGenerate< UnionWeight< W, O > >::Generate = WeightGenerate<W>

Definition at line 477 of file union-weight.h.

template<class W , class O >
using fst::WeightGenerate< UnionWeight< W, O > >::Weight = UnionWeight<W, O>

Definition at line 476 of file union-weight.h.

Constructor & Destructor Documentation

template<class W , class O >
fst::WeightGenerate< UnionWeight< W, O > >::WeightGenerate ( bool  allow_zero = true,
size_t  num_random_weights = kNumRandomWeights 
)
inlineexplicit

Definition at line 479 of file union-weight.h.

Member Function Documentation

template<class W , class O >
Weight fst::WeightGenerate< UnionWeight< W, O > >::operator() ( ) const
inline

Definition at line 484 of file union-weight.h.


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