FST  openfst-1.8.3
OpenFst Library
Namespaces | Typedefs | Functions
randequivalent.h File Reference
#include <cstdint>
#include <random>
#include <tuple>
#include <fst/fst.h>
#include <fst/randequivalent.h>
#include <fst/randgen.h>
#include <fst/weight.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.




using fst::script::FstRandEquivalentInnerArgs = std::tuple< const FstClass &, const FstClass &, int32_t, const RandGenOptions< RandArcSelection > &, float, uint64_t >
using fst::script::FstRandEquivalentArgs = WithReturnValue< bool, FstRandEquivalentInnerArgs >


template<class Arc >
void fst::script::RandEquivalent (FstRandEquivalentArgs *args)
bool fst::script::RandEquivalent (const FstClass &fst1, const FstClass &fst2, int32_t npath=1, const RandGenOptions< RandArcSelection > &opts=RandGenOptions< RandArcSelection >(RandArcSelection::UNIFORM), float delta=kDelta, uint64_t seed=std::random_device()())