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

#include <pair-weight.h>

Public Types

using Weight = PairWeight< W1, W2 >
 
using Generate1 = WeightGenerate< W1 >
 
using Generate2 = WeightGenerate< W2 >
 

Public Member Functions

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

Detailed Description

template<class W1, class W2>
class fst::WeightGenerate< PairWeight< W1, W2 > >

Definition at line 154 of file pair-weight.h.

Member Typedef Documentation

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

Definition at line 157 of file pair-weight.h.

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

Definition at line 158 of file pair-weight.h.

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

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

Constructor & Destructor Documentation

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

Definition at line 160 of file pair-weight.h.

Member Function Documentation

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

Definition at line 164 of file pair-weight.h.


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