FST  openfst-1.7.5
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > > Class Template Reference

#include <compact-fst.h>

Public Types

using Arc = typename ArcCompactor::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using CompactStore = DefaultCompactStore< typename ArcCompactor::Element, U >
 
using Compactor = DefaultCompactor< ArcCompactor, U, CompactStore >
 

Public Member Functions

 DefaultCompactState ()=default
 
 DefaultCompactState (const Compactor *compactor, StateId s)
 
void Set (const Compactor *compactor, StateId s)
 
StateId GetStateId () const
 
Weight Final () const
 
size_t NumArcs () const
 
Arc GetArc (size_t i, uint8 flags) const
 

Detailed Description

template<class ArcCompactor, class U>
class fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >

Definition at line 748 of file compact-fst.h.

Member Typedef Documentation

template<class ArcCompactor , class U >
using fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::Arc = typename ArcCompactor::Arc

Definition at line 751 of file compact-fst.h.

template<class ArcCompactor , class U >
using fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::Compactor = DefaultCompactor<ArcCompactor, U, CompactStore>

Definition at line 755 of file compact-fst.h.

template<class ArcCompactor , class U >
using fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::CompactStore = DefaultCompactStore<typename ArcCompactor::Element, U>

Definition at line 754 of file compact-fst.h.

template<class ArcCompactor , class U >
using fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::StateId = typename Arc::StateId

Definition at line 752 of file compact-fst.h.

template<class ArcCompactor , class U >
using fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::Weight = typename Arc::Weight

Definition at line 753 of file compact-fst.h.

Constructor & Destructor Documentation

template<class ArcCompactor , class U >
fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::DefaultCompactState ( )
default
template<class ArcCompactor , class U >
fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::DefaultCompactState ( const Compactor compactor,
StateId  s 
)
inline

Definition at line 759 of file compact-fst.h.

Member Function Documentation

template<class ArcCompactor , class U >
Weight fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::Final ( ) const
inline

Definition at line 773 of file compact-fst.h.

template<class ArcCompactor , class U >
Arc fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::GetArc ( size_t  i,
uint8  flags 
) const
inline

Definition at line 780 of file compact-fst.h.

template<class ArcCompactor , class U >
StateId fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::GetStateId ( ) const
inline

Definition at line 771 of file compact-fst.h.

template<class ArcCompactor , class U >
size_t fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::NumArcs ( ) const
inline

Definition at line 778 of file compact-fst.h.

template<class ArcCompactor , class U >
void fst::DefaultCompactState< ArcCompactor, U, DefaultCompactStore< typename ArcCompactor::Element, U > >::Set ( const Compactor compactor,
StateId  s 
)
inline

Definition at line 764 of file compact-fst.h.


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