FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::WeightGenerate< ExpectationWeight< W1, W2 > > Class Template Reference

#include <expectation-weight.h>

Public Types

using Weight = ExpectationWeight< W1, W2 >
 
using Generate = WeightGenerate< PairWeight< W1, W2 >>
 

Public Member Functions

 WeightGenerate (uint64_t seed=std::random_device()(), bool allow_zero=true)
 
Weight operator() () const
 

Detailed Description

template<class W1, class W2>
class fst::WeightGenerate< ExpectationWeight< W1, W2 > >

Definition at line 212 of file expectation-weight.h.

Member Typedef Documentation

template<class W1 , class W2 >
using fst::WeightGenerate< ExpectationWeight< W1, W2 > >::Generate = WeightGenerate<PairWeight<W1, W2>>

Definition at line 215 of file expectation-weight.h.

template<class W1 , class W2 >
using fst::WeightGenerate< ExpectationWeight< W1, W2 > >::Weight = ExpectationWeight<W1, W2>

Definition at line 214 of file expectation-weight.h.

Constructor & Destructor Documentation

template<class W1 , class W2 >
fst::WeightGenerate< ExpectationWeight< W1, W2 > >::WeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true 
)
inlineexplicit

Definition at line 217 of file expectation-weight.h.

Member Function Documentation

template<class W1 , class W2 >
Weight fst::WeightGenerate< ExpectationWeight< W1, W2 > >::operator() ( ) const
inline

Definition at line 221 of file expectation-weight.h.


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