FST  openfst-1.7.7
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 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 53 of file randgen.h.

Member Typedef Documentation

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

Definition at line 55 of file randgen.h.

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

Definition at line 56 of file randgen.h.

Constructor & Destructor Documentation

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

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


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