FST  openfst-1.8.3
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 &fst, bool safe=false)
 
RmEpsilonFstCopy (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_t Properties (uint64_t mask, bool test) const override
 
const std::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 ()=default
 
virtual std::optional< StateIdNumStatesIfKnown () const
 
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
 

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 FstRead (std::istream &strm, const FstReadOptions &opts)
 
static FstRead (const std::string &source)
 
- Protected Member Functions inherited from fst::ImplToFst< internal::RmEpsilonFstImpl< A > >
 ImplToFst (std::shared_ptr< internal::RmEpsilonFstImpl< A > > impl)
 
 ImplToFst (const ImplToFst &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst &fst)
 
 ImplToFst (ImplToFst &&fst) noexcept
 
ImplToFstoperator= (const ImplToFst &fst)
 
ImplToFstoperator= (ImplToFst &&fst) noexcept
 
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 std::string &source) const
 

Detailed Description

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

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

Member Typedef Documentation

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

Definition at line 509 of file rmepsilon.h.

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

Definition at line 514 of file rmepsilon.h.

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

Definition at line 513 of file rmepsilon.h.

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

Definition at line 510 of file rmepsilon.h.

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

Definition at line 512 of file rmepsilon.h.

Constructor & Destructor Documentation

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

Definition at line 519 of file rmepsilon.h.

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

Definition at line 522 of file rmepsilon.h.

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

Definition at line 526 of file rmepsilon.h.

Member Function Documentation

template<class A>
RmEpsilonFst* 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 536 of file rmepsilon.h.

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

Definition at line 570 of file rmepsilon.h.

Friends And Related Function Documentation

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

Definition at line 516 of file rmepsilon.h.

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

Definition at line 517 of file rmepsilon.h.


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