FST  openfst-1.7.9
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 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 154 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 157 of file expectation-weight.h.

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

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

Constructor & Destructor Documentation

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

Definition at line 159 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 163 of file expectation-weight.h.


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