FST
openfst-1.8.4
OpenFst Library
|
#include <compact-fst.h>
Public Types | |
using | Arc = A |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | Element = std::pair< std::pair< Label, Weight >, StateId > |
Public Member Functions | |
Element | Compact (StateId s, const Arc &arc) const |
Arc | Expand (StateId s, const Element &p, uint8_t flags=kArcValueFlags) const |
constexpr ssize_t | Size () const |
constexpr uint64_t | Properties () const |
bool | Compatible (const Fst< Arc > &fst) const |
bool | Write (std::ostream &strm) const |
Static Public Member Functions | |
static const std::string & | Type () |
static AcceptorCompactor * | Read (std::istream &strm) |
Definition at line 1515 of file compact-fst.h.
using fst::AcceptorCompactor< A >::Arc = A |
Definition at line 1517 of file compact-fst.h.
using fst::AcceptorCompactor< A >::Element = std::pair<std::pair<Label, Weight>, StateId> |
Definition at line 1522 of file compact-fst.h.
using fst::AcceptorCompactor< A >::Label = typename Arc::Label |
Definition at line 1518 of file compact-fst.h.
using fst::AcceptorCompactor< A >::StateId = typename Arc::StateId |
Definition at line 1519 of file compact-fst.h.
using fst::AcceptorCompactor< A >::Weight = typename Arc::Weight |
Definition at line 1520 of file compact-fst.h.
|
inline |
Definition at line 1524 of file compact-fst.h.
|
inline |
Definition at line 1538 of file compact-fst.h.
|
inline |
Definition at line 1529 of file compact-fst.h.
|
inline |
Definition at line 1536 of file compact-fst.h.
|
inlinestatic |
Definition at line 1550 of file compact-fst.h.
|
inline |
Definition at line 1534 of file compact-fst.h.
|
inlinestatic |
Definition at line 1543 of file compact-fst.h.
|
inline |
Definition at line 1548 of file compact-fst.h.