FST
openfst-1.8.4
OpenFst Library
|
#include <compactors.h>
Public Types | |
using | Arc = A |
using | Label = typename A::Label |
using | StateId = typename A::StateId |
using | Weight = typename A::Weight |
using | Element = ArcTpl< Weight > |
Public Member Functions | |
Element | Compact (StateId s, const A &arc) const |
Arc | Expand (StateId s, const Element &e, uint32_t f=kArcValueFlags) const |
ssize_t | Size () const |
uint64_t | Properties () const |
bool | Compatible (const Fst< A > &fst) const |
bool | Write (std::ostream &strm) const |
Static Public Member Functions | |
static const std::string & | Type () |
static TrivialArcCompactor * | Read (std::istream &strm) |
Definition at line 45 of file compactors.h.
using fst::TrivialArcCompactor< A >::Arc = A |
Definition at line 47 of file compactors.h.
using fst::TrivialArcCompactor< A >::Element = ArcTpl<Weight> |
Definition at line 54 of file compactors.h.
using fst::TrivialArcCompactor< A >::Label = typename A::Label |
Definition at line 48 of file compactors.h.
using fst::TrivialArcCompactor< A >::StateId = typename A::StateId |
Definition at line 49 of file compactors.h.
using fst::TrivialArcCompactor< A >::Weight = typename A::Weight |
Definition at line 50 of file compactors.h.
|
inline |
Definition at line 58 of file compactors.h.
|
inline |
Definition at line 70 of file compactors.h.
|
inline |
Definition at line 62 of file compactors.h.
|
inline |
Definition at line 68 of file compactors.h.
|
inlinestatic |
Definition at line 80 of file compactors.h.
|
inline |
Definition at line 66 of file compactors.h.
|
inlinestatic |
Definition at line 72 of file compactors.h.
|
inline |
Definition at line 78 of file compactors.h.