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

#include <expander-cache.h>

Public Types

using Arc = A
 
using Weight = typename Arc::Weight
 
using StateId = typename Arc::StateId
 

Public Member Functions

void Reset ()
 
Weight Final () const
 
size_t NumInputEpsilons () const
 
size_t NumOutputEpsilons () const
 
size_t NumArcs () const
 
const ArcGetArc (size_t n) const
 
const ArcArcs () const
 
void SetFinal (Weight weight)
 
void ReserveArcs (size_t n)
 
void AddArc (const Arc &arc)
 
void AddArc (Arc &&arc)
 
int * MutableRefCount () const
 

Detailed Description

template<class A>
class fst::SimpleVectorCacheState< A >

Definition at line 62 of file expander-cache.h.

Member Typedef Documentation

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

Definition at line 64 of file expander-cache.h.

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

Definition at line 66 of file expander-cache.h.

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

Definition at line 65 of file expander-cache.h.

Member Function Documentation

template<class A>
void fst::SimpleVectorCacheState< A >::AddArc ( const Arc arc)
inline

Definition at line 91 of file expander-cache.h.

template<class A>
void fst::SimpleVectorCacheState< A >::AddArc ( Arc &&  arc)
inline

Definition at line 97 of file expander-cache.h.

template<class A>
const Arc* fst::SimpleVectorCacheState< A >::Arcs ( ) const
inline

Definition at line 85 of file expander-cache.h.

template<class A>
Weight fst::SimpleVectorCacheState< A >::Final ( ) const
inline

Definition at line 75 of file expander-cache.h.

template<class A>
const Arc& fst::SimpleVectorCacheState< A >::GetArc ( size_t  n) const
inline

Definition at line 83 of file expander-cache.h.

template<class A>
int* fst::SimpleVectorCacheState< A >::MutableRefCount ( ) const
inline

Definition at line 103 of file expander-cache.h.

template<class A>
size_t fst::SimpleVectorCacheState< A >::NumArcs ( ) const
inline

Definition at line 81 of file expander-cache.h.

template<class A>
size_t fst::SimpleVectorCacheState< A >::NumInputEpsilons ( ) const
inline

Definition at line 77 of file expander-cache.h.

template<class A>
size_t fst::SimpleVectorCacheState< A >::NumOutputEpsilons ( ) const
inline

Definition at line 79 of file expander-cache.h.

template<class A>
void fst::SimpleVectorCacheState< A >::ReserveArcs ( size_t  n)
inline

Definition at line 89 of file expander-cache.h.

template<class A>
void fst::SimpleVectorCacheState< A >::Reset ( )
inline

Definition at line 68 of file expander-cache.h.

template<class A>
void fst::SimpleVectorCacheState< A >::SetFinal ( Weight  weight)
inline

Definition at line 87 of file expander-cache.h.


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