FST  openfst-1.6.1
OpenFst Library
Public Types | Public Member Functions | Friends | List of all members
fst::RmEpsilonFst< A > Class Template Reference

#include <fst-decl.h>

Inheritance diagram for fst::RmEpsilonFst< A >:
Inheritance graph
[legend]
Collaboration diagram for fst::RmEpsilonFst< A >:
Collaboration graph
[legend]

Public Types

using Arc = A
 
using StateId = typename Arc::StateId
 
using Store = DefaultCacheStore< Arc >
 
using State = typename Store::State
 
using Impl = internal::RmEpsilonFstImpl< Arc >
 
- Public Types inherited from fst::ImplToFst< internal::RmEpsilonFstImpl< A > >
using Arc = typename internal::RmEpsilonFstImpl< A >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::Fst< typename internal::RmEpsilonFstImpl< A >::Arc >
using Arc = typename internal::RmEpsilonFstImpl< A >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 RmEpsilonFst (const Fst< Arc > &fst)
 
 RmEpsilonFst (const Fst< A > &fst, const RmEpsilonFstOptions &opts)
 
 RmEpsilonFst (const RmEpsilonFst< Arc > &fst, bool safe=false)
 
RmEpsilonFst< Arc > * Copy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< Arc > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override
 
- Public Member Functions inherited from fst::ImplToFst< internal::RmEpsilonFstImpl< A > >
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 Properties (uint64 mask, bool test) const override
 
const string & Type () const override
 
const SymbolTableInputSymbols () const override
 
const SymbolTableOutputSymbols () const override
 
- Public Member Functions inherited from fst::Fst< typename internal::RmEpsilonFstImpl< A >::Arc >
virtual ~Fst ()
 
virtual bool Write (std::ostream &strm, const FstWriteOptions &opts) const
 
virtual bool Write (const string &filename) 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
 

Friends

class ArcIterator< RmEpsilonFst< Arc > >
 
class StateIterator< RmEpsilonFst< Arc > >
 

Additional Inherited Members

- Static Public Member Functions inherited from fst::Fst< typename internal::RmEpsilonFstImpl< A >::Arc >
static Fst< Arc > * Read (std::istream &strm, const FstReadOptions &opts)
 
static Fst< Arc > * Read (const string &filename)
 
- Protected Member Functions inherited from fst::ImplToFst< internal::RmEpsilonFstImpl< A > >
 ImplToFst (std::shared_ptr< internal::RmEpsilonFstImpl< A > > impl)
 
 ImplToFst (const ImplToFst< internal::RmEpsilonFstImpl< A >, Fst< typename internal::RmEpsilonFstImpl< A >::Arc > > &fst, bool safe)
 
const internal::RmEpsilonFstImpl< A > * GetImpl () const
 
internal::RmEpsilonFstImpl< A > * GetMutableImpl () const
 
std::shared_ptr< internal::RmEpsilonFstImpl< A > > GetSharedImpl () const
 
bool Unique () const
 
void SetImpl (std::shared_ptr< internal::RmEpsilonFstImpl< A > > impl)
 
- Protected Member Functions inherited from fst::Fst< typename internal::RmEpsilonFstImpl< A >::Arc >
bool WriteFile (const string &filename) const
 

Detailed Description

template<class A>
class fst::RmEpsilonFst< A >

Definition at line 135 of file fst-decl.h.

Member Typedef Documentation

template<class A>
using fst::RmEpsilonFst< A >::Arc = A

Definition at line 476 of file rmepsilon.h.

template<class A>
using fst::RmEpsilonFst< A >::Impl = internal::RmEpsilonFstImpl<Arc>

Definition at line 481 of file rmepsilon.h.

template<class A>
using fst::RmEpsilonFst< A >::State = typename Store::State

Definition at line 480 of file rmepsilon.h.

template<class A>
using fst::RmEpsilonFst< A >::StateId = typename Arc::StateId

Definition at line 477 of file rmepsilon.h.

template<class A>
using fst::RmEpsilonFst< A >::Store = DefaultCacheStore<Arc>

Definition at line 479 of file rmepsilon.h.

Constructor & Destructor Documentation

template<class A>
fst::RmEpsilonFst< A >::RmEpsilonFst ( const Fst< Arc > &  fst)
inlineexplicit

Definition at line 486 of file rmepsilon.h.

template<class A>
fst::RmEpsilonFst< A >::RmEpsilonFst ( const Fst< A > &  fst,
const RmEpsilonFstOptions opts 
)
inline

Definition at line 489 of file rmepsilon.h.

template<class A>
fst::RmEpsilonFst< A >::RmEpsilonFst ( const RmEpsilonFst< Arc > &  fst,
bool  safe = false 
)
inline

Definition at line 493 of file rmepsilon.h.

Member Function Documentation

template<class A>
RmEpsilonFst<Arc>* fst::RmEpsilonFst< A >::Copy ( bool  safe = false) const
inlineoverridevirtual
template<class A>
void fst::RmEpsilonFst< A >::InitArcIterator ( StateId  s,
ArcIteratorData< Arc > *  data 
) const
inlineoverride

Definition at line 503 of file rmepsilon.h.

template<class Arc >
void fst::RmEpsilonFst< Arc >::InitStateIterator ( StateIteratorData< Arc > *  data) const
inlineoverride

Definition at line 537 of file rmepsilon.h.

Friends And Related Function Documentation

template<class A>
friend class ArcIterator< RmEpsilonFst< Arc > >
friend

Definition at line 483 of file rmepsilon.h.

template<class A>
friend class StateIterator< RmEpsilonFst< Arc > >
friend

Definition at line 484 of file rmepsilon.h.


The documentation for this class was generated from the following files: