FST  openfst-1.8.3
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 (uint64_t seed=std::random_device()(), 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 490 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 493 of file union-weight.h.

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

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

Constructor & Destructor Documentation

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

Definition at line 495 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 503 of file union-weight.h.


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