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

#include <power-weight.h>

Public Types

using Weight = PowerWeight< W, n >
 
using Generate = WeightGenerate< W >
 

Public Member Functions

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

Detailed Description

template<class W, size_t n>
class fst::WeightGenerate< PowerWeight< W, n > >

Definition at line 165 of file power-weight.h.

Member Typedef Documentation

template<class W , size_t n>
using fst::WeightGenerate< PowerWeight< W, n > >::Generate = WeightGenerate<W>

Definition at line 168 of file power-weight.h.

template<class W , size_t n>
using fst::WeightGenerate< PowerWeight< W, n > >::Weight = PowerWeight<W, n>

Definition at line 167 of file power-weight.h.

Constructor & Destructor Documentation

template<class W , size_t n>
fst::WeightGenerate< PowerWeight< W, n > >::WeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true 
)
inlineexplicit

Definition at line 170 of file power-weight.h.

Member Function Documentation

template<class W , size_t n>
Weight fst::WeightGenerate< PowerWeight< W, n > >::operator() ( ) const
inline

Definition at line 174 of file power-weight.h.


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