Public Types | Public Member Functions

fst::script::LogProbArcSelectorGuard< A > Struct Template Reference

#include <fst/script/randgen.h>

List of all members.

Public Types

typedef A::StateId StateId
typedef A::Weight Weight

Public Member Functions

 LogProbArcSelectorGuard (int seed)
size_t operator() (const Fst< A > &fst, StateId s) const

Detailed Description

template<class A>
struct fst::script::LogProbArcSelectorGuard< A >

This is to prevent log probabilities from working with other than StdArc and LogArc

Definition at line 36 of file randgen.h.


Member Typedef Documentation

template<class A>
typedef A::StateId fst::script::LogProbArcSelectorGuard< A >::StateId

Definition at line 37 of file randgen.h.

template<class A>
typedef A::Weight fst::script::LogProbArcSelectorGuard< A >::Weight

Definition at line 38 of file randgen.h.


Constructor & Destructor Documentation

template<class A>
fst::script::LogProbArcSelectorGuard< A >::LogProbArcSelectorGuard ( int  seed  )  [inline, explicit]

Definition at line 40 of file randgen.h.


Member Function Documentation

template<class A>
size_t fst::script::LogProbArcSelectorGuard< A >::operator() ( const Fst< A > &  fst,
StateId  s 
) const [inline]

Definition at line 44 of file randgen.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines