FST  openfst-1.8.3
OpenFst Library
Namespaces | Functions | Variables
push.h File Reference
#include <cstdint>
#include <vector>
#include <fst/log.h>
#include <fst/arc-map.h>
#include <fst/arc.h>
#include <fst/factor-weight.h>
#include <fst/fst.h>
#include <fst/mutable-fst.h>
#include <fst/reweight.h>
#include <fst/shortest-distance.h>
#include <fst/string-weight.h>
#include <fst/vector-fst.h>
#include <fst/weight.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=REWEIGHT_TO_INITIAL, float delta=kShortestDelta, bool remove_total_weight=false)
template<class Arc , ReweightType rtype>
void fst::Push (const Fst< Arc > &ifst, MutableFst< Arc > *ofst, uint8_t ptype, float delta=kShortestDelta)


constexpr uint8_t fst::kPushWeights = 0x01
constexpr uint8_t fst::kPushLabels = 0x02
constexpr uint8_t fst::kPushRemoveTotalWeight = 0x04
constexpr uint8_t fst::kPushRemoveCommonAffix = 0x08