#include <fst/script/randgen.h>
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 |
This is to prevent log probabilities from working with other than StdArc and LogArc
Definition at line 36 of file randgen.h.
| typedef A::StateId fst::script::LogProbArcSelectorGuard< A >::StateId |
| typedef A::Weight fst::script::LogProbArcSelectorGuard< A >::Weight |
| fst::script::LogProbArcSelectorGuard< A >::LogProbArcSelectorGuard | ( | int | seed | ) | [inline, explicit] |
| size_t fst::script::LogProbArcSelectorGuard< A >::operator() | ( | const Fst< A > & | fst, | |
| StateId | s | |||
| ) | const [inline] |
1.7.1