FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::UniformArcSelector< Arc > Class Template Reference

#include <randgen.h>

Public Types

using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 UniformArcSelector (uint64_t seed=std::random_device()())
 
size_t operator() (const Fst< Arc > &fst, StateId s) const
 

Detailed Description

template<class Arc>
class fst::UniformArcSelector< Arc >

Definition at line 69 of file randgen.h.

Member Typedef Documentation

template<class Arc>
using fst::UniformArcSelector< Arc >::StateId = typename Arc::StateId

Definition at line 71 of file randgen.h.

template<class Arc>
using fst::UniformArcSelector< Arc >::Weight = typename Arc::Weight

Definition at line 72 of file randgen.h.

Constructor & Destructor Documentation

template<class Arc>
fst::UniformArcSelector< Arc >::UniformArcSelector ( uint64_t  seed = std::random_device()())
inlineexplicit

Definition at line 74 of file randgen.h.

Member Function Documentation

template<class Arc>
size_t fst::UniformArcSelector< Arc >::operator() ( const Fst< Arc > &  fst,
StateId  s 
) const
inline

Definition at line 77 of file randgen.h.


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