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

#include <string-weight.h>

Inheritance diagram for fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >:
Inheritance graph
[legend]
Collaboration diagram for fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >:
Collaboration graph
[legend]

Public Types

using Weight = GallicWeight< Label, W, GALLIC >
 
using Generate = WeightGenerate< UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W >>>
 

Public Member Functions

 WeightGenerate (uint64_t seed=std::random_device()(), bool allow_zero=true)
 
Weight operator() () const
 
- Public Member Functions inherited from fst::WeightGenerate< UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > > >
UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > > operator() () const
 

Detailed Description

template<class Label, class W>
class fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >

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

Member Typedef Documentation

template<class Label , class W >
using fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >::Generate = WeightGenerate<UnionWeight<GallicWeight<Label, W, GALLIC_RESTRICT>, GallicUnionWeightOptions<Label, W>>>

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

template<class Label , class W >
using fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >::Weight = GallicWeight<Label, W, GALLIC>

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

Constructor & Destructor Documentation

template<class Label , class W >
fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >::WeightGenerate ( uint64_t  seed = std::random_device()(),
bool  allow_zero = true 
)
inlineexplicit

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

Member Function Documentation

template<class Label , class W >
Weight fst::WeightGenerate< GallicWeight< Label, W, GALLIC > >::operator() ( ) const
inline

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


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