#include <fst/union.h>
Inherits fst::RationalFst< A >.

Public Types | |
| typedef A | Arc |
| typedef A::Weight | Weight |
| typedef A::StateId | StateId |
Public Member Functions | |
| UnionFst (const Fst< A > &fst1, const Fst< A > &fst2) | |
| UnionFst (const Fst< A > &fst1, const Fst< A > &fst2, const UnionFstOptions &opts) | |
| UnionFst (const UnionFst< A > &fst, bool safe=false) | |
| See Fst<>::Copy() for doc. | |
| virtual UnionFst< A > * | Copy (bool safe=false) const |
| Get a copy of this UnionFst. See Fst<>::Copy() for further doc. | |
Computes the union (sum) of two FSTs. This version is a delayed Fst. If A transduces string x to y with weight a and B transduces string w to v with weight b, then their union transduces x to y with weight a and w to v with weight b.
Complexity:
Definition at line 112 of file union.h.
| typedef A fst::UnionFst< A >::Arc |
Reimplemented from fst::RationalFst< A >.
| typedef A::StateId fst::UnionFst< A >::StateId |
Reimplemented from fst::RationalFst< A >.
| typedef A::Weight fst::UnionFst< A >::Weight |
Reimplemented from fst::ImplToFst< RationalFstImpl< A > >.
| fst::UnionFst< A >::UnionFst | ( | const Fst< A > & | fst1, | |
| const Fst< A > & | fst2 | |||
| ) | [inline] |
| fst::UnionFst< A >::UnionFst | ( | const Fst< A > & | fst1, | |
| const Fst< A > & | fst2, | |||
| const UnionFstOptions & | opts | |||
| ) | [inline] |
| fst::UnionFst< A >::UnionFst | ( | const UnionFst< A > & | fst, | |
| bool | safe = false | |||
| ) | [inline] |
See Fst<>::Copy() for doc.
| virtual UnionFst<A>* fst::UnionFst< A >::Copy | ( | bool | safe = false |
) | const [inline, virtual] |
Get a copy of this UnionFst. See Fst<>::Copy() for further doc.
Implements fst::Fst< typename RationalFstImpl< A >::Arc >.
1.7.1