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

#include <closure.h>

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

Public Types

using Arc = A
 
- Public Types inherited from fst::RationalFst< A >
using Arc = A
 
using StateId = typename Arc::StateId
 
using Impl = internal::RationalFstImpl< Arc >
 
- Public Types inherited from fst::ImplToFst< internal::RationalFstImpl< A > >
using Arc = typename internal::RationalFstImpl< A >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::Fst< typename internal::RationalFstImpl< A >::Arc >
using Arc = typename internal::RationalFstImpl< A >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ClosureFst (const Fst< Arc > &fst, ClosureType closure_type)
 
 ClosureFst (const Fst< Arc > &fst, const ClosureFstOptions &opts)
 
 ClosureFst (const ClosureFst &fst, bool safe=false)
 
ClosureFstCopy (bool safe=false) const override
 
- Public Member Functions inherited from fst::RationalFst< A >
void InitStateIterator (StateIteratorData< Arc > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override
 
- Public Member Functions inherited from fst::ImplToFst< internal::RationalFstImpl< 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::RationalFstImpl< 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
 

Additional Inherited Members

- Static Public Member Functions inherited from fst::Fst< typename internal::RationalFstImpl< A >::Arc >
static FstRead (std::istream &strm, const FstReadOptions &opts)
 
static FstRead (const std::string &source)
 
- Protected Member Functions inherited from fst::RationalFst< A >
 RationalFst (const RationalFstOptions &opts=RationalFstOptions())
 
 RationalFst (const RationalFst &fst, bool safe=false)
 
- Protected Member Functions inherited from fst::ImplToFst< internal::RationalFstImpl< A > >
 ImplToFst (std::shared_ptr< internal::RationalFstImpl< 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::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)
 
- Protected Member Functions inherited from fst::Fst< typename internal::RationalFstImpl< A >::Arc >
bool WriteFile (const std::string &source) const
 

Detailed Description

template<class A>
class fst::ClosureFst< A >

Definition at line 103 of file closure.h.

Member Typedef Documentation

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

Definition at line 105 of file closure.h.

Constructor & Destructor Documentation

template<class A>
fst::ClosureFst< A >::ClosureFst ( const Fst< Arc > &  fst,
ClosureType  closure_type 
)
inline

Definition at line 107 of file closure.h.

template<class A>
fst::ClosureFst< A >::ClosureFst ( const Fst< Arc > &  fst,
const ClosureFstOptions opts 
)
inline

Definition at line 111 of file closure.h.

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

Definition at line 117 of file closure.h.

Member Function Documentation

template<class A>
ClosureFst* fst::ClosureFst< A >::Copy ( bool  safe = false) const
inlineoverridevirtual

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