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

#include <compact-fst.h>

Public Types

using Arc = typename C::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 DefaultCompactState ()=default
 
 DefaultCompactState (const DefaultCompactor< C, U, S > *compactor, StateId s)
 
void Set (const DefaultCompactor< C, U, S > *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 S>
class fst::DefaultCompactState< C, U, S >

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

Member Typedef Documentation

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

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

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

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

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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


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