#include <fst/rational.h>
Inherits ImplToFst< RationalFstImpl< A > >.
Inherited by fst::ClosureFst< A >, fst::ConcatFst< A >, and fst::UnionFst< A >.

Public Types | |
| typedef A | Arc |
| typedef A::StateId | StateId |
| typedef RationalFstImpl< A > | Impl |
Public Member Functions | |
| virtual void | InitStateIterator (StateIteratorData< A > *data) const |
| virtual void | InitArcIterator (StateId s, ArcIteratorData< A > *data) const |
Protected Member Functions | |
| RationalFst () | |
| RationalFst (const RationalFstOptions &opts) | |
| RationalFst (const RationalFst< A > &fst, bool safe=false) | |
| See Fst<>::Copy() for doc. | |
Friends | |
| class | StateIterator< RationalFst< A > > |
| class | ArcIterator< RationalFst< A > > |
| void | Union (RationalFst< A > *fst1, const Fst< A > &fst2) |
| void | Concat (RationalFst< A > *fst1, const Fst< A > &fst2) |
| void | Concat (const Fst< A > &fst1, RationalFst< A > *fst2) |
| void | Closure (RationalFst< A > *fst, ClosureType closure_type) |
Parent class for the delayed rational operations - delayed union, concatenation, and closure.
This class attaches interface to implementation and handles reference counting, delegating most methods to ImplToFst.
Definition at line 263 of file rational.h.
| typedef A fst::RationalFst< A >::Arc |
Reimplemented from fst::ImplToFst< RationalFstImpl< A > >.
Reimplemented in fst::ClosureFst< A >, fst::ConcatFst< A >, and fst::UnionFst< A >.
Definition at line 272 of file rational.h.
| typedef RationalFstImpl<A> fst::RationalFst< A >::Impl |
Definition at line 274 of file rational.h.
| typedef A::StateId fst::RationalFst< A >::StateId |
Reimplemented from fst::ImplToFst< RationalFstImpl< A > >.
Reimplemented in fst::ConcatFst< A >, and fst::UnionFst< A >.
Definition at line 273 of file rational.h.
| fst::RationalFst< A >::RationalFst | ( | ) | [inline, protected] |
Definition at line 285 of file rational.h.
| fst::RationalFst< A >::RationalFst | ( | const RationalFstOptions & | opts | ) | [inline, explicit, protected] |
Definition at line 288 of file rational.h.
| fst::RationalFst< A >::RationalFst | ( | const RationalFst< A > & | fst, | |
| bool | safe = false | |||
| ) | [inline, protected] |
See Fst<>::Copy() for doc.
Definition at line 292 of file rational.h.
| virtual void fst::RationalFst< A >::InitArcIterator | ( | StateId | s, | |
| ArcIteratorData< A > * | data | |||
| ) | const [inline, virtual] |
Definition at line 280 of file rational.h.
| virtual void fst::RationalFst< A >::InitStateIterator | ( | StateIteratorData< A > * | data | ) | const [inline, virtual] |
Definition at line 276 of file rational.h.
friend class ArcIterator< RationalFst< A > > [friend] |
Definition at line 266 of file rational.h.
| void Closure | ( | RationalFst< A > * | fst, | |
| ClosureType | closure_type | |||
| ) | [friend] |
| void Concat | ( | const Fst< A > & | fst1, | |
| RationalFst< A > * | fst2 | |||
| ) | [friend] |
| void Concat | ( | RationalFst< A > * | fst1, | |
| const Fst< A > & | fst2 | |||
| ) | [friend] |
friend class StateIterator< RationalFst< A > > [friend] |
Definition at line 265 of file rational.h.
| void Union | ( | RationalFst< A > * | fst1, | |
| const Fst< A > & | fst2 | |||
| ) | [friend] |
1.7.1