FST  openfst-1.8.3
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 &fst, bool safe=false)
 
ArcSortFstCopy (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 &fst, bool safe=false)
 
StateMapFstCopy (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_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::StateMapFstImpl< Arc, Arc, ArcSortMapper< Arc, Compare > >::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 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 FstRead (std::istream &strm, const FstReadOptions &opts)
 
static FstRead (const std::string &source)
 
- 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 &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst &fst)
 
 ImplToFst (ImplToFst &&fst) noexcept
 
ImplToFstoperator= (const ImplToFst &fst)
 
ImplToFstoperator= (ImplToFst &&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 std::string &source) const
 

Detailed Description

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

Definition at line 133 of file arcsort.h.

Member Typedef Documentation

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

Definition at line 138 of file arcsort.h.

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

Definition at line 137 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 140 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 144 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 149 of file arcsort.h.

Member Function Documentation

template<class Arc, class Compare>
ArcSortFst* 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: