FST  openfst-1.7.2
OpenFst Library
Classes | Functions
fst::script::internal Namespace Reference

Classes

struct  QueueConstructor
 
struct  QueueConstructor< Arc, AutoQueue< typename Arc::StateId >, ArcFilter >
 
struct  QueueConstructor< Arc, NaturalShortestFirstQueue< typename Arc::StateId, typename Arc::Weight >, ArcFilter >
 
struct  QueueConstructor< Arc, TopOrderQueue< typename Arc::StateId >, ArcFilter >
 

Functions

template<class Arc , class Queue >
void RmEpsilon (MutableFst< Arc > *fst, std::vector< typename Arc::Weight > *distance, const RmEpsilonOptions &opts, Queue *queue)
 
template<class Arc >
void RmEpsilon (MutableFst< Arc > *fst, const RmEpsilonOptions &opts)
 
template<class M , class N >
bool ArcTypesMatch (const M &m, const N &n, const string &op_name)
 
template<class Weight >
void CopyWeights (const std::vector< WeightClass > &weights, std::vector< Weight > *typed_weights)
 
template<class Weight >
void CopyWeights (const std::vector< Weight > &typed_weights, std::vector< WeightClass > *weights)
 
template<class Arc , class Queue , class ArcFilter >
void ShortestDistance (const Fst< Arc > &fst, std::vector< typename Arc::Weight > *distance, const ShortestDistanceOptions &opts)
 
template<class Arc , class Queue >
void ShortestDistance (const Fst< Arc > &fst, std::vector< typename Arc::Weight > *distance, const ShortestDistanceOptions &opts)
 
template<class Arc , class Queue >
void ShortestPath (const Fst< Arc > &ifst, MutableFst< Arc > *ofst, std::vector< typename Arc::Weight > *distance, const ShortestPathOptions &opts)
 
template<class Arc >
void ShortestPath (const Fst< Arc > &ifst, MutableFst< Arc > *ofst, const ShortestPathOptions &opts)
 

Function Documentation

template<class M , class N >
bool fst::script::internal::ArcTypesMatch ( const M &  m,
const N &  n,
const string &  op_name 
)

Definition at line 176 of file script-impl.h.

template<class Weight >
void fst::script::internal::CopyWeights ( const std::vector< WeightClass > &  weights,
std::vector< Weight > *  typed_weights 
)

Definition at line 187 of file script-impl.h.

template<class Weight >
void fst::script::internal::CopyWeights ( const std::vector< Weight > &  typed_weights,
std::vector< WeightClass > *  weights 
)

Definition at line 198 of file script-impl.h.

template<class Arc , class Queue >
void fst::script::internal::RmEpsilon ( MutableFst< Arc > *  fst,
std::vector< typename Arc::Weight > *  distance,
const RmEpsilonOptions opts,
Queue *  queue 
)

Definition at line 39 of file rmepsilon.h.

template<class Arc >
void fst::script::internal::RmEpsilon ( MutableFst< Arc > *  fst,
const RmEpsilonOptions opts 
)

Definition at line 50 of file rmepsilon.h.

template<class Arc , class Queue , class ArcFilter >
void fst::script::internal::ShortestDistance ( const Fst< Arc > &  fst,
std::vector< typename Arc::Weight > *  distance,
const ShortestDistanceOptions opts 
)

Definition at line 93 of file shortest-distance.h.

template<class Arc , class Queue >
void fst::script::internal::ShortestDistance ( const Fst< Arc > &  fst,
std::vector< typename Arc::Weight > *  distance,
const ShortestDistanceOptions opts 
)

Definition at line 104 of file shortest-distance.h.

template<class Arc , class Queue >
void fst::script::internal::ShortestPath ( const Fst< Arc > &  ifst,
MutableFst< Arc > *  ofst,
std::vector< typename Arc::Weight > *  distance,
const ShortestPathOptions opts 
)

Definition at line 41 of file shortest-path.h.

template<class Arc >
void fst::script::internal::ShortestPath ( const Fst< Arc > &  ifst,
MutableFst< Arc > *  ofst,
const ShortestPathOptions opts 
)

Definition at line 56 of file shortest-path.h.