FST
openfst-1.8.4
OpenFst Library
|
#include <accumulator.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
FastLogAccumulator (ssize_t arc_limit=20, ssize_t arc_period=10) | |
FastLogAccumulator (std::shared_ptr< FastLogAccumulatorData > data) | |
FastLogAccumulator (const FastLogAccumulator &acc, bool safe=false) | |
void | SetState (StateId s) |
Weight | Sum (Weight w, Weight v) const |
template<class ArcIter > | |
Weight | Sum (Weight w, ArcIter *aiter, ssize_t begin, ssize_t end) const |
template<class FST > | |
void | Init (const FST &fst, bool copy=false) |
bool | Error () const |
std::shared_ptr< FastLogAccumulatorData > | GetData () const |
Definition at line 225 of file accumulator.h.
using fst::FastLogAccumulator< A >::Arc = A |
Definition at line 227 of file accumulator.h.
using fst::FastLogAccumulator< A >::StateId = typename Arc::StateId |
Definition at line 228 of file accumulator.h.
using fst::FastLogAccumulator< A >::Weight = typename Arc::Weight |
Definition at line 229 of file accumulator.h.
|
inlineexplicit |
Definition at line 231 of file accumulator.h.
|
inlineexplicit |
Definition at line 241 of file accumulator.h.
|
inline |
Definition at line 250 of file accumulator.h.
|
inline |
Definition at line 352 of file accumulator.h.
|
inline |
Definition at line 354 of file accumulator.h.
|
inline |
Definition at line 321 of file accumulator.h.
|
inline |
Definition at line 259 of file accumulator.h.
|
inline |
Definition at line 269 of file accumulator.h.
|
inline |
Definition at line 272 of file accumulator.h.