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

#include <lexicographic-weight.h>

Public Types

using Weight = LexicographicWeight< W1, W1 >
 
using Generate1 = WeightGenerate< W1 >
 
using Generate2 = WeightGenerate< 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 W1, class W2>
class fst::WeightGenerate< LexicographicWeight< W1, W2 > >

Definition at line 147 of file lexicographic-weight.h.

Member Typedef Documentation

template<class W1 , class W2 >
using fst::WeightGenerate< LexicographicWeight< W1, W2 > >::Generate1 = WeightGenerate<W1>

Definition at line 150 of file lexicographic-weight.h.

template<class W1 , class W2 >
using fst::WeightGenerate< LexicographicWeight< W1, W2 > >::Generate2 = WeightGenerate<W2>

Definition at line 151 of file lexicographic-weight.h.

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

Definition at line 149 of file lexicographic-weight.h.

Constructor & Destructor Documentation

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

Definition at line 153 of file lexicographic-weight.h.

Member Function Documentation

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

Definition at line 162 of file lexicographic-weight.h.


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