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

#include <string-weight.h>

Public Types

using Weight = StringWeight< Label, S >
 

Public Member Functions

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

Detailed Description

template<class Label, StringType S>
class fst::WeightGenerate< StringWeight< Label, S > >

Definition at line 514 of file string-weight.h.

Member Typedef Documentation

template<class Label , StringType S>
using fst::WeightGenerate< StringWeight< Label, S > >::Weight = StringWeight<Label, S>

Definition at line 516 of file string-weight.h.

Constructor & Destructor Documentation

template<class Label , StringType S>
fst::WeightGenerate< StringWeight< Label, S > >::WeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true,
size_t  alphabet_size = kNumRandomWeights,
size_t  max_string_length = kNumRandomWeights 
)
inlineexplicit

Definition at line 518 of file string-weight.h.

Member Function Documentation

template<class Label , StringType S>
Weight fst::WeightGenerate< StringWeight< Label, S > >::operator() ( ) const
inline

Definition at line 527 of file string-weight.h.


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