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

#include <randgen.h>

Inheritance diagram for fst::LogProbArcSelector< Arc >:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 LogProbArcSelector ()
 
 LogProbArcSelector (uint64 seed)
 
size_t operator() (const Fst< Arc > &fst, StateId s) const
 
uint64 Seed () const
 

Protected Member Functions

Log64Weight ToLogWeight (const Weight &weight) const
 
std::mt19937_64 & MutableRand () const
 

Detailed Description

template<class Arc>
class fst::LogProbArcSelector< Arc >

Definition at line 74 of file randgen.h.

Member Typedef Documentation

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

Definition at line 76 of file randgen.h.

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

Definition at line 77 of file randgen.h.

Constructor & Destructor Documentation

template<class Arc>
fst::LogProbArcSelector< Arc >::LogProbArcSelector ( )
inline

Definition at line 80 of file randgen.h.

template<class Arc>
fst::LogProbArcSelector< Arc >::LogProbArcSelector ( uint64  seed)
inlineexplicit

Definition at line 82 of file randgen.h.

Member Function Documentation

template<class Arc>
std::mt19937_64& fst::LogProbArcSelector< Arc >::MutableRand ( ) const
inlineprotected

Definition at line 111 of file randgen.h.

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

Definition at line 84 of file randgen.h.

template<class Arc>
uint64 fst::LogProbArcSelector< Arc >::Seed ( ) const
inline

Definition at line 104 of file randgen.h.

template<class Arc>
Log64Weight fst::LogProbArcSelector< Arc >::ToLogWeight ( const Weight weight) const
inlineprotected

Definition at line 107 of file randgen.h.


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