FST  openfst-1.7.2
OpenFst Library
Namespaces | Functions | Variables
push.h File Reference
#include <vector>
#include <fst/log.h>
#include <fst/arc-map.h>
#include <fst/factor-weight.h>
#include <fst/fst.h>
#include <fst/reweight.h>
#include <fst/shortest-distance.h>
Include dependency graph for push.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




template<class Arc >
Arc::Weight fst::ComputeTotalWeight (const Fst< Arc > &fst, const std::vector< typename Arc::Weight > &distance, bool reverse)
template<class Arc >
void fst::RemoveWeight (MutableFst< Arc > *fst, const typename Arc::Weight &weight, bool at_final)
template<class Arc >
void fst::Push (MutableFst< Arc > *fst, ReweightType type, float delta=kDelta, bool remove_total_weight=false)
template<class Arc , ReweightType rtype>
void fst::Push (const Fst< Arc > &ifst, MutableFst< Arc > *ofst, uint32 ptype, float delta=kDelta)


constexpr uint32 fst::kPushWeights = 0x0001
constexpr uint32 fst::kPushLabels = 0x0002
constexpr uint32 fst::kPushRemoveTotalWeight = 0x0004
constexpr uint32 fst::kPushRemoveCommonAffix = 0x0008