Classes | Namespaces | Typedefs | Enumerations | Functions

openfst-1.2.6/src/include/fst/script/randgen.h File Reference

#include <fst/script/arg-packs.h>
#include <fst/script/fst-class.h>
#include <fst/randgen.h>
Include dependency graph for randgen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fst::script::LogProbArcSelectorGuard< A >
struct  fst::script::LogProbArcSelectorGuard< ArcTpl< TropicalWeightTpl< T > > >
struct  fst::script::LogProbArcSelectorGuard< ArcTpl< LogWeightTpl< T > > >
struct  fst::script::FastLogProbArcSelectorGuard< A >
struct  fst::script::FastLogProbArcSelectorGuard< ArcTpl< TropicalWeightTpl< T > > >
struct  fst::script::FastLogProbArcSelectorGuard< ArcTpl< LogWeightTpl< T > > >

Namespaces

namespace  fst
 

For optional argument declarations.


namespace  fst::script

Typedefs

typedef args::Package< const
FstClass &, MutableFstClass
*, int32, const RandGenOptions
< RandArcSelection > & > 
fst::script::RandGenArgs

Enumerations

enum  fst::script::RandArcSelection { fst::script::UNIFORM_ARC_SELECTOR, fst::script::LOG_PROB_ARC_SELECTOR, fst::script::FAST_LOG_PROB_ARC_SELECTOR }

Functions

template<class Arc >
void fst::script::RandGen (RandGenArgs *args)
void fst::script::RandGen (const FstClass &ifst, MutableFstClass *ofst, int32 seed=time(0), const RandGenOptions< RandArcSelection > &opts=fst::RandGenOptions< fst::script::RandArcSelection >(fst::script::UNIFORM_ARC_SELECTOR))
 Client-facing prototype.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines