FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::CompactArcState< ArcCompactor, U, S > 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 Compactor = CompactArcCompactor< ArcCompactor, U, S >
 

Public Member Functions

 CompactArcState ()=default
 
 CompactArcState (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_t flags) const
 

Detailed Description

template<class ArcCompactor, class U, class S>
class fst::CompactArcState< ArcCompactor, U, S >

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

Member Typedef Documentation

template<class ArcCompactor , class U , class S >
using fst::CompactArcState< ArcCompactor, U, S >::Arc = typename ArcCompactor::Arc

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

template<class ArcCompactor , class U , class S >
using fst::CompactArcState< ArcCompactor, U, S >::Compactor = CompactArcCompactor<ArcCompactor, U, S>

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

template<class ArcCompactor , class U , class S >
using fst::CompactArcState< ArcCompactor, U, S >::StateId = typename Arc::StateId

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

template<class ArcCompactor , class U , class S >
using fst::CompactArcState< ArcCompactor, U, S >::Weight = typename Arc::Weight

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

Constructor & Destructor Documentation

template<class ArcCompactor , class U , class S >
fst::CompactArcState< ArcCompactor, U, S >::CompactArcState ( )
default
template<class ArcCompactor , class U , class S >
fst::CompactArcState< ArcCompactor, U, S >::CompactArcState ( const Compactor compactor,
StateId  s 
)
inline

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

Member Function Documentation

template<class ArcCompactor , class U , class S >
Weight fst::CompactArcState< ArcCompactor, U, S >::Final ( ) const
inline

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

template<class ArcCompactor , class U , class S >
Arc fst::CompactArcState< ArcCompactor, U, S >::GetArc ( size_t  i,
uint8_t  flags 
) const
inline

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

template<class ArcCompactor , class U , class S >
StateId fst::CompactArcState< ArcCompactor, U, S >::GetStateId ( ) const
inline

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

template<class ArcCompactor , class U , class S >
size_t fst::CompactArcState< ArcCompactor, U, S >::NumArcs ( ) const
inline

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

template<class ArcCompactor , class U , class S >
void fst::CompactArcState< ArcCompactor, U, S >::Set ( const Compactor compactor,
StateId  s 
)
inline

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


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