FST  openfst-1.8.3
OpenFst Library
Namespaces | Typedefs | Functions
randgen.h File Reference
#include <cstdint>
#include <random>
#include <tuple>
#include <fst/fst.h>
#include <fst/mutable-fst.h>
#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::FstRandGenArgs = std::tuple< const FstClass &, MutableFstClass *, const RandGenOptions< RandArcSelection > &, uint64_t >
 

Functions

template<class Arc >
void fst::script::RandGen (FstRandGenArgs *args)
 
void fst::script::RandGen (const FstClass &ifst, MutableFstClass *ofst, const RandGenOptions< RandArcSelection > &opts=RandGenOptions< RandArcSelection >(RandArcSelection::UNIFORM), uint64_t seed=std::random_device()())