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

#include <determinize.h>

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

Public Types

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

Public Member Functions

 DeterminizeFst (const Fst< A > &fst)
 
template<class CommonDivisor , class Filter , class StateTable >
 DeterminizeFst (const Fst< Arc > &fst, const DeterminizeFstOptions< Arc, CommonDivisor, Filter, StateTable > &opts=DeterminizeFstOptions< Arc, CommonDivisor, Filter, StateTable >())
 
template<class CommonDivisor , class Filter , class StateTable >
 DeterminizeFst (const Fst< Arc > &fst, const std::vector< Weight > *in_dist, std::vector< Weight > *out_dist, const DeterminizeFstOptions< Arc, CommonDivisor, Filter, StateTable > &opts=DeterminizeFstOptions< Arc, CommonDivisor, Filter, StateTable >())
 
 DeterminizeFst (const DeterminizeFst< Arc > &fst, bool safe=false)
 
DeterminizeFst< 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::DeterminizeFstImplBase< 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::DeterminizeFstImplBase< 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< DeterminizeFst< Arc > >
 
class StateIterator< DeterminizeFst< Arc > >
 
template<class B , GallicType G, class CommonDivisor , class Filter , class StateTable >
class DeterminizeFstImpl
 

Additional Inherited Members

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

Detailed Description

template<class A>
class fst::DeterminizeFst< A >

Definition at line 844 of file determinize.h.

Member Typedef Documentation

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

Definition at line 846 of file determinize.h.

Definition at line 853 of file determinize.h.

template<class A>
using fst::DeterminizeFst< A >::Label = typename Arc::Label

Definition at line 847 of file determinize.h.

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

Definition at line 852 of file determinize.h.

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

Definition at line 848 of file determinize.h.

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

Definition at line 851 of file determinize.h.

template<class A>
using fst::DeterminizeFst< A >::Weight = typename Arc::Weight

Definition at line 849 of file determinize.h.

Constructor & Destructor Documentation

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

Definition at line 862 of file determinize.h.

template<class A>
template<class CommonDivisor , class Filter , class StateTable >
fst::DeterminizeFst< A >::DeterminizeFst ( const Fst< Arc > &  fst,
const DeterminizeFstOptions< Arc, CommonDivisor, Filter, StateTable > &  opts = DeterminizeFstOptions<Arc, CommonDivisor, Filter, StateTable>() 
)
inline

Definition at line 866 of file determinize.h.

template<class A>
template<class CommonDivisor , class Filter , class StateTable >
fst::DeterminizeFst< A >::DeterminizeFst ( const Fst< Arc > &  fst,
const std::vector< Weight > *  in_dist,
std::vector< Weight > *  out_dist,
const DeterminizeFstOptions< Arc, CommonDivisor, Filter, StateTable > &  opts = DeterminizeFstOptions<Arc, CommonDivisor, Filter, StateTable>() 
)
inline

Definition at line 877 of file determinize.h.

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

Definition at line 895 of file determinize.h.

Member Function Documentation

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

Definition at line 906 of file determinize.h.

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

Definition at line 1007 of file determinize.h.

Friends And Related Function Documentation

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

Definition at line 855 of file determinize.h.

template<class A>
template<class B , GallicType G, class CommonDivisor , class Filter , class StateTable >
friend class DeterminizeFstImpl
friend

Definition at line 860 of file determinize.h.

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

Definition at line 856 of file determinize.h.


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