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

#include <randgen.h>

Public Types

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

Public Member Functions

 UniformArcSelector (time_t seed=time(nullptr))
 
size_t operator() (const Fst< Arc > &fst, StateId s) const
 

Detailed Description

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

Definition at line 37 of file randgen.h.

Member Typedef Documentation

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

Definition at line 38 of file randgen.h.

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

Definition at line 39 of file randgen.h.

Constructor & Destructor Documentation

template<class Arc>
fst::UniformArcSelector< Arc >::UniformArcSelector ( time_t  seed = time(nullptr))
inlineexplicit

Definition at line 41 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 43 of file randgen.h.


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