FST  openfst-1.7.1
OpenFst Library
Namespaces | Typedefs | Functions
randequivalent.h File Reference
#include <climits>
#include <ctime>
#include <tuple>
#include <fst/randequivalent.h>
#include <fst/script/arg-packs.h>
#include <fst/script/fst-class.h>
#include <fst/script/script-impl.h>
Include dependency graph for randequivalent.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::RandEquivalentInnerArgs = std::tuple< const FstClass &, const FstClass &, int32, float, time_t, const RandGenOptions< RandArcSelection > & >
 
using fst::script::RandEquivalentArgs = WithReturnValue< bool, RandEquivalentInnerArgs >
 

Functions

template<class Arc >
void fst::script::RandEquivalent (RandEquivalentArgs *args)
 
bool fst::script::RandEquivalent (const FstClass &fst1, const FstClass &fst2, int32 npath=1, float delta=kDelta, time_t seed=time(nullptr), const RandGenOptions< RandArcSelection > &opts=RandGenOptions< RandArcSelection >(UNIFORM_ARC_SELECTOR))