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

#include <randgen.h>

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

Public Types

using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::LogProbArcSelector< Arc >
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 FastLogProbArcSelector ()
 
 FastLogProbArcSelector (uint64_t seed)
 
size_t operator() (const Fst< Arc > &fst, StateId s, CacheLogAccumulator< Arc > *accumulator) const
 
- Public Member Functions inherited from fst::LogProbArcSelector< Arc >
 LogProbArcSelector ()
 
 LogProbArcSelector (uint64_t seed)
 
size_t operator() (const Fst< Arc > &fst, StateId s) const
 
uint64_t Seed () const
 

Additional Inherited Members

- Protected Member Functions inherited from fst::LogProbArcSelector< Arc >
Log64Weight ToLogWeight (const Weight &weight) const
 
std::mt19937_64 & MutableRand () const
 

Detailed Description

template<class Arc>
class fst::FastLogProbArcSelector< Arc >

Definition at line 142 of file randgen.h.

Member Typedef Documentation

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

Definition at line 144 of file randgen.h.

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

Definition at line 145 of file randgen.h.

Constructor & Destructor Documentation

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

Definition at line 152 of file randgen.h.

template<class Arc>
fst::FastLogProbArcSelector< Arc >::FastLogProbArcSelector ( uint64_t  seed)
inlineexplicit

Definition at line 154 of file randgen.h.

Member Function Documentation

template<class Arc>
size_t fst::FastLogProbArcSelector< Arc >::operator() ( const Fst< Arc > &  fst,
StateId  s,
CacheLogAccumulator< Arc > *  accumulator 
) const
inline

Definition at line 157 of file randgen.h.


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