FST
openfst-1.8.2
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 36 of file compactors.h.
using fst::TrivialArcCompactor< A >::Arc = A |
Definition at line 38 of file compactors.h.
using fst::TrivialArcCompactor< A >::Element = ArcTpl<Weight> |
Definition at line 45 of file compactors.h.
using fst::TrivialArcCompactor< A >::Label = typename A::Label |
Definition at line 39 of file compactors.h.
using fst::TrivialArcCompactor< A >::StateId = typename A::StateId |
Definition at line 40 of file compactors.h.
using fst::TrivialArcCompactor< A >::Weight = typename A::Weight |
Definition at line 41 of file compactors.h.
|
inline |
Definition at line 49 of file compactors.h.
|
inline |
Definition at line 61 of file compactors.h.
|
inline |
Definition at line 53 of file compactors.h.
|
inline |
Definition at line 59 of file compactors.h.
|
inlinestatic |
Definition at line 71 of file compactors.h.
|
inline |
Definition at line 57 of file compactors.h.
|
inlinestatic |
Definition at line 63 of file compactors.h.
|
inline |
Definition at line 69 of file compactors.h.