FST  openfst-1.7.0
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 (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 494 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 496 of file string-weight.h.

Constructor & Destructor Documentation

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

Definition at line 498 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 505 of file string-weight.h.


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