FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::WeightGenerate< SignedLogWeightTpl< T > > Class Template Reference

#include <signed-log-weight.h>

Public Types

using Weight = SignedLogWeightTpl< T >
 
using W1 = typename Weight::W1
 
using W2 = typename Weight::W2
 

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 T>
class fst::WeightGenerate< SignedLogWeightTpl< T > >

Definition at line 588 of file signed-log-weight.h.

Member Typedef Documentation

template<class T >
using fst::WeightGenerate< SignedLogWeightTpl< T > >::W1 = typename Weight::W1

Definition at line 591 of file signed-log-weight.h.

template<class T >
using fst::WeightGenerate< SignedLogWeightTpl< T > >::W2 = typename Weight::W2

Definition at line 592 of file signed-log-weight.h.

template<class T >
using fst::WeightGenerate< SignedLogWeightTpl< T > >::Weight = SignedLogWeightTpl<T>

Definition at line 590 of file signed-log-weight.h.

Constructor & Destructor Documentation

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

Definition at line 594 of file signed-log-weight.h.

Member Function Documentation

template<class T >
Weight fst::WeightGenerate< SignedLogWeightTpl< T > >::operator() ( ) const
inline

Definition at line 601 of file signed-log-weight.h.


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