FST  openfst-1.7.2
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::ArcSortFst< Arc, Compare > Class Template Reference

#include <arcsort.h>

Inheritance diagram for fst::ArcSortFst< Arc, Compare >:
Inheritance graph
[legend]
Collaboration diagram for fst::ArcSortFst< Arc, Compare >:
Collaboration graph
[legend]

Public Types

using StateId = typename Arc::StateId
 
using Mapper = ArcSortMapper< Arc, Compare >
 
- Public Types inherited from fst::StateMapFst< Arc, Arc, ArcSortMapper< Arc, Compare > >
using Arc = Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Store = DefaultCacheStore< Arc >
 
using State = typename Store::State
 
using Impl = internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >
 
- Public Types inherited from fst::ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > >
using Arc = typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc >
using Arc = typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ArcSortFst (const Fst< Arc > &fst, const Compare &comp)
 
 ArcSortFst (const Fst< Arc > &fst, const Compare &comp, const ArcSortFstOptions &opts)
 
 ArcSortFst (const ArcSortFst< Arc, Compare > &fst, bool safe=false)
 
ArcSortFst< Arc, Compare > * Copy (bool safe=false) const override
 
size_t NumArcs (StateId s) const override
 
size_t NumInputEpsilons (StateId s) const override
 
size_t NumOutputEpsilons (StateId s) const override
 
- Public Member Functions inherited from fst::StateMapFst< Arc, Arc, ArcSortMapper< Arc, Compare > >
 StateMapFst (const Fst< Arc > &fst, const ArcSortMapper< Arc, Compare > &mapper, const StateMapFstOptions &opts)
 
 StateMapFst (const Fst< Arc > &fst, ArcSortMapper< Arc, Compare > *mapper, const StateMapFstOptions &opts)
 
 StateMapFst (const Fst< Arc > &fst, const ArcSortMapper< Arc, Compare > &mapper)
 
 StateMapFst (const Fst< Arc > &fst, ArcSortMapper< Arc, Compare > *mapper)
 
 StateMapFst (const StateMapFst< Arc, Arc, ArcSortMapper< Arc, Compare > > &fst, bool safe=false)
 
StateMapFst< Arc, Arc, ArcSortMapper< Arc, Compare > > * Copy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< Arc > *data) const override
 
void InitArcIterator (StateId state, ArcIteratorData< Arc > *data) const override
 
- Public Member Functions inherited from fst::ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > >
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::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc >
virtual ~Fst ()
 
virtual bool Write (std::ostream &strm, const FstWriteOptions &opts) const
 
virtual bool Write (const string &filename) const
 
virtual MatcherBase< Arc > * InitMatcher (MatchType match_type) const
 

Additional Inherited Members

- Static Public Member Functions inherited from fst::Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::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::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > >
 ImplToFst (std::shared_ptr< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > > impl)
 
 ImplToFst (const ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > &fst)
 
 ImplToFst (ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > &&fst) noexcept
 
ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > & operator= (const ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > &fst)
 
ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > & operator= (ImplToFst< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >, Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc > > &&fst) noexcept
 
const internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > * GetImpl () const
 
internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > * GetMutableImpl () const
 
std::shared_ptr< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > > GetSharedImpl () const
 
bool Unique () const
 
void SetImpl (std::shared_ptr< internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > > > impl)
 
- Protected Member Functions inherited from fst::Fst< typename internal::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::Arc >
bool WriteFile (const string &filename) const
 

Detailed Description

template<class Arc, class Compare>
class fst::ArcSortFst< Arc, Compare >

Definition at line 111 of file arcsort.h.

Member Typedef Documentation

template<class Arc, class Compare>
using fst::ArcSortFst< Arc, Compare >::Mapper = ArcSortMapper<Arc, Compare>

Definition at line 116 of file arcsort.h.

template<class Arc, class Compare>
using fst::ArcSortFst< Arc, Compare >::StateId = typename Arc::StateId

Definition at line 115 of file arcsort.h.

Constructor & Destructor Documentation

template<class Arc, class Compare>
fst::ArcSortFst< Arc, Compare >::ArcSortFst ( const Fst< Arc > &  fst,
const Compare &  comp 
)
inline

Definition at line 118 of file arcsort.h.

template<class Arc, class Compare>
fst::ArcSortFst< Arc, Compare >::ArcSortFst ( const Fst< Arc > &  fst,
const Compare &  comp,
const ArcSortFstOptions opts 
)
inline

Definition at line 122 of file arcsort.h.

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

Definition at line 127 of file arcsort.h.

Member Function Documentation

template<class Arc, class Compare>
ArcSortFst<Arc, Compare>* fst::ArcSortFst< Arc, Compare >::Copy ( bool  safe = false) const
inlineoverridevirtual
template<class Arc, class Compare>
size_t fst::ArcSortFst< Arc, Compare >::NumArcs ( StateId  s) const
inlineoverridevirtual
template<class Arc, class Compare>
size_t fst::ArcSortFst< Arc, Compare >::NumInputEpsilons ( StateId  s) const
inlineoverridevirtual
template<class Arc, class Compare>
size_t fst::ArcSortFst< Arc, Compare >::NumOutputEpsilons ( StateId  s) const
inlineoverridevirtual

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