FST  openfst-1.7.2
OpenFst Library
Namespaces | Typedefs | Functions
randgen.h File Reference
#include <ctime>
#include <tuple>
#include <fst/randgen.h>
#include <fst/script/fst-class.h>
#include <fst/script/script-impl.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.

Namespaces

 fst
 
 fst::script
 

Typedefs

using fst::script::RandGenArgs = std::tuple< const FstClass &, MutableFstClass *, time_t, const RandGenOptions< RandArcSelection > & >
 

Functions

template<class Arc >
void fst::script::RandGen (RandGenArgs *args)
 
void fst::script::RandGen (const FstClass &ifst, MutableFstClass *ofst, time_t seed=time(nullptr), const RandGenOptions< RandArcSelection > &opts=RandGenOptions< RandArcSelection >(UNIFORM_ARC_SELECTOR))