Compactor for weighted acceptor FSTs. More...
#include <fst/compact-fst.h>
Public Types | |
| typedef A | Arc |
| typedef A::Label | Label |
| typedef A::StateId | StateId |
| typedef A::Weight | Weight |
| typedef pair< pair< Label, Weight >, StateId > | Element |
Public Member Functions | |
| Element | Compact (StateId s, const A &arc) const |
| Arc | Expand (StateId s, const Element &p, uint32 f=kArcValueFlags) const |
| ssize_t | Size () const |
| uint64 | Properties () const |
| bool | Compatible (const Fst< A > &fst) const |
| bool | Write (ostream &strm) const |
Static Public Member Functions | |
| static const string & | Type () |
| static AcceptorCompactor * | Read (istream &strm) |
Compactor for weighted acceptor FSTs.
Definition at line 1125 of file compact-fst.h.
| typedef A fst::AcceptorCompactor< A >::Arc |
Definition at line 1127 of file compact-fst.h.
| typedef pair< pair<Label, Weight>, StateId > fst::AcceptorCompactor< A >::Element |
Definition at line 1131 of file compact-fst.h.
| typedef A::Label fst::AcceptorCompactor< A >::Label |
Definition at line 1128 of file compact-fst.h.
| typedef A::StateId fst::AcceptorCompactor< A >::StateId |
Definition at line 1129 of file compact-fst.h.
| typedef A::Weight fst::AcceptorCompactor< A >::Weight |
Definition at line 1130 of file compact-fst.h.
| Element fst::AcceptorCompactor< A >::Compact | ( | StateId | s, | |
| const A & | arc | |||
| ) | const [inline] |
Definition at line 1133 of file compact-fst.h.
| bool fst::AcceptorCompactor< A >::Compatible | ( | const Fst< A > & | fst | ) | const [inline] |
Definition at line 1147 of file compact-fst.h.
| Arc fst::AcceptorCompactor< A >::Expand | ( | StateId | s, | |
| const Element & | p, | |||
| uint32 | f = kArcValueFlags | |||
| ) | const [inline] |
Definition at line 1137 of file compact-fst.h.
| uint64 fst::AcceptorCompactor< A >::Properties | ( | ) | const [inline] |
Definition at line 1143 of file compact-fst.h.
| static AcceptorCompactor* fst::AcceptorCompactor< A >::Read | ( | istream & | strm | ) | [inline, static] |
Definition at line 1159 of file compact-fst.h.
| ssize_t fst::AcceptorCompactor< A >::Size | ( | ) | const [inline] |
Definition at line 1141 of file compact-fst.h.
| static const string& fst::AcceptorCompactor< A >::Type | ( | void | ) | [inline, static] |
Definition at line 1152 of file compact-fst.h.
| bool fst::AcceptorCompactor< A >::Write | ( | ostream & | strm | ) | const [inline] |
Definition at line 1157 of file compact-fst.h.
1.7.1