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

#include <sparse-power-weight.h>

Public Types

using Weight = SparsePowerWeight< W, K >
 
using Generate = WeightGenerate< W >
 

Public Member Functions

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

Detailed Description

template<class W, class K>
class fst::WeightGenerate< SparsePowerWeight< W, K > >

Definition at line 205 of file sparse-power-weight.h.

Member Typedef Documentation

template<class W , class K >
using fst::WeightGenerate< SparsePowerWeight< W, K > >::Generate = WeightGenerate<W>

Definition at line 208 of file sparse-power-weight.h.

template<class W , class K >
using fst::WeightGenerate< SparsePowerWeight< W, K > >::Weight = SparsePowerWeight<W, K>

Definition at line 207 of file sparse-power-weight.h.

Constructor & Destructor Documentation

template<class W , class K >
fst::WeightGenerate< SparsePowerWeight< W, K > >::WeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true,
size_t  sparse_power_rank = 3 
)
inlineexplicit

Definition at line 210 of file sparse-power-weight.h.

Member Function Documentation

template<class W , class K >
Weight fst::WeightGenerate< SparsePowerWeight< W, K > >::operator() ( ) const
inline

Definition at line 214 of file sparse-power-weight.h.


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