FST
openfst-1.8.2
OpenFst Library
|
#include <rational.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Impl = internal::RationalFstImpl< Arc > |
![]() | |
using | Arc = typename internal::RationalFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::RationalFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override |
![]() | |
StateId | Start () const override |
Weight | Final (StateId s) const override |
size_t | NumArcs (StateId s) const override |
size_t | NumInputEpsilons (StateId s) const override |
size_t | NumOutputEpsilons (StateId s) const override |
uint64_t | Properties (uint64_t mask, bool test) const override |
const std::string & | Type () const override |
const SymbolTable * | InputSymbols () const override |
const SymbolTable * | OutputSymbols () const override |
![]() | |
virtual | ~Fst () |
virtual Fst * | Copy (bool safe=false) const =0 |
virtual bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
virtual bool | Write (const std::string &source) const |
virtual void | InitStateIterator (StateIteratorData< Arc > *data) const =0 |
virtual void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const =0 |
virtual MatcherBase< Arc > * | InitMatcher (MatchType match_type) const |
Protected Member Functions | |
RationalFst (const RationalFstOptions &opts=RationalFstOptions()) | |
RationalFst (const RationalFst &fst, bool safe=false) | |
![]() | |
ImplToFst (std::shared_ptr< internal::RationalFstImpl< A > > impl) | |
ImplToFst (const ImplToFst &fst, bool safe) | |
ImplToFst ()=delete | |
ImplToFst (const ImplToFst &fst) | |
ImplToFst (ImplToFst &&fst) noexcept | |
ImplToFst & | operator= (const ImplToFst &fst) |
ImplToFst & | operator= (ImplToFst &&fst) noexcept |
const internal::RationalFstImpl< A > * | GetImpl () const |
internal::RationalFstImpl< A > * | GetMutableImpl () const |
std::shared_ptr< internal::RationalFstImpl< A > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::RationalFstImpl< A > > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
Friends | |
class | StateIterator< RationalFst< Arc > > |
class | ArcIterator< RationalFst< Arc > > |
void | Union (RationalFst< Arc > *fst1, const Fst< Arc > &fst2) |
void | Concat (RationalFst< Arc > *fst1, const Fst< Arc > &fst2) |
void | Concat (const Fst< Arc > &fst1, RationalFst< Arc > *fst2) |
void | Closure (RationalFst< Arc > *fst, ClosureType closure_type) |
Additional Inherited Members | |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
Definition at line 45 of file rational.h.
using fst::RationalFst< A >::Arc = A |
Definition at line 269 of file rational.h.
using fst::RationalFst< A >::Impl = internal::RationalFstImpl<Arc> |
Definition at line 272 of file rational.h.
using fst::RationalFst< A >::StateId = typename Arc::StateId |
Definition at line 270 of file rational.h.
|
inlineexplicitprotected |
Definition at line 292 of file rational.h.
|
inlineprotected |
Definition at line 296 of file rational.h.
|
inlineoverride |
Definition at line 285 of file rational.h.
|
inlineoverride |
Definition at line 281 of file rational.h.
|
friend |
Definition at line 275 of file rational.h.
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 274 of file rational.h.
|
friend |