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

#include <compact-fst.h>

Public Types

using Arc = typename C::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using CompactStore = DefaultCompactStore< typename C::Element, U >
 

Public Member Functions

 DefaultCompactState ()=default
 
 DefaultCompactState (const DefaultCompactor< C, U, CompactStore > *compactor, StateId s)
 
void Set (const DefaultCompactor< C, U, CompactStore > *compactor, StateId s)
 
StateId GetStateId () const
 
Weight Final () const
 
size_t NumArcs () const
 
Arc GetArc (size_t i, uint32 f) const
 

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

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

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

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

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

Constructor & Destructor Documentation

template<class C , class U >
fst::DefaultCompactState< C, U, DefaultCompactStore< typename C::Element, U > >::DefaultCompactState ( )
default
template<class C , class U >
fst::DefaultCompactState< C, U, DefaultCompactStore< typename C::Element, U > >::DefaultCompactState ( const DefaultCompactor< C, U, CompactStore > *  compactor,
StateId  s 
)
inline

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

Member Function Documentation

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

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

template<class C , class U >
Arc fst::DefaultCompactState< C, U, DefaultCompactStore< typename C::Element, U > >::GetArc ( size_t  i,
uint32  f 
) const
inline

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

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

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

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

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

template<class C , class U >
void fst::DefaultCompactState< C, U, DefaultCompactStore< typename C::Element, U > >::Set ( const DefaultCompactor< C, U, CompactStore > *  compactor,
StateId  s 
)
inline

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


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