Represents the composition state. More...
#include <fst/state-table.h>

Public Types | |
| typedef S | StateId |
| typedef F | FilterState |
Public Member Functions | |
| ComposeStateTuple () | |
| ComposeStateTuple (StateId s1, StateId s2, const FilterState &f) | |
Public Attributes | |
| StateId | state_id1 |
| State Id on fst1. | |
| StateId | state_id2 |
| State Id on fst2. | |
| FilterState | filter_state |
| State of composition filter. | |
Represents the composition state.
COMPOSITION STATE TUPLES AND TABLES
The composition state table has the form:
template <class A, class F> class ComposeStateTable { public: typedef A Arc; typedef F FilterState; typedef typename A::StateId StateId; typedef ComposeStateTuple<StateId> StateTuple;
Required constructors. Copy constructor does not copy state. ComposeStateTable(const Fst<Arc> &fst1, const Fst<Arc> &fst2); ComposeStateTable(const ComposeStateTable<A, F> &table); Lookup state ID by tuple. If it doesn't exist, then add it. StateId FindState(const StateTuple &); Lookup state tuple by state ID. const StateTuple<StateId> &Tuple(StateId) const; # of stored tuples. StateId Size() const; };
Definition at line 461 of file state-table.h.
| typedef F fst::ComposeStateTuple< S, F >::FilterState |
Definition at line 463 of file state-table.h.
| typedef S fst::ComposeStateTuple< S, F >::StateId |
Definition at line 462 of file state-table.h.
| fst::ComposeStateTuple< S, F >::ComposeStateTuple | ( | ) | [inline] |
Definition at line 465 of file state-table.h.
| fst::ComposeStateTuple< S, F >::ComposeStateTuple | ( | StateId | s1, | |
| StateId | s2, | |||
| const FilterState & | f | |||
| ) | [inline] |
Definition at line 469 of file state-table.h.
| FilterState fst::ComposeStateTuple< S, F >::filter_state |
State of composition filter.
Definition at line 474 of file state-table.h.
| StateId fst::ComposeStateTuple< S, F >::state_id1 |
State Id on fst1.
Definition at line 472 of file state-table.h.
| StateId fst::ComposeStateTuple< S, F >::state_id2 |
State Id on fst2.
Definition at line 473 of file state-table.h.
1.7.1