#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <map>
#include <memory>
#include <numeric>
#include <random>
#include <utility>
#include <vector>
#include <fst/log.h>
#include <fst/accumulator.h>
#include <fst/cache.h>
#include <fst/dfs-visit.h>
#include <fst/float-weight.h>
#include <fst/fst-decl.h>
#include <fst/fst.h>
#include <fst/mutable-fst.h>
#include <fst/properties.h>
#include <fst/util.h>
#include <fst/weight.h>
Go to the source code of this file.
|
class | fst::UniformArcSelector< Arc > |
|
class | fst::LogProbArcSelector< Arc > |
|
class | fst::FastLogProbArcSelector< Arc > |
|
struct | fst::RandState< Arc > |
|
class | fst::ArcSampler< Arc, Selector > |
|
class | fst::ArcSampler< Arc, FastLogProbArcSelector< Arc > > |
|
struct | fst::RandGenFstOptions< Sampler > |
|
class | fst::internal::RandGenFstImpl< FromArc, ToArc, Sampler > |
|
class | fst::RandGenFst< FromArc, ToArc, Sampler > |
|
class | fst::StateIterator< RandGenFst< FromArc, ToArc, Sampler > > |
|
class | fst::ArcIterator< RandGenFst< FromArc, ToArc, Sampler > > |
|
struct | fst::RandGenOptions< Selector > |
|
class | fst::internal::RandGenVisitor< FromArc, ToArc > |
|
|
template<class Result , class RNG > |
void | fst::OneMultinomialSample (const std::vector< double > &probs, size_t num_to_sample, Result *result, RNG *rng) |
|
template<class FromArc , class ToArc , class Selector > |
void | fst::RandGen (const Fst< FromArc > &ifst, MutableFst< ToArc > *ofst, const RandGenOptions< Selector > &opts) |
|
template<class FromArc , class ToArc > |
void | fst::RandGen (const Fst< FromArc > &ifst, MutableFst< ToArc > *ofst, uint64_t seed=std::random_device()()) |
|