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

#include <expander-cache.h>

Classes

class  State
 

Public Types

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

Public Member Functions

 NoGcKeepOneExpanderCache ()
 
 NoGcKeepOneExpanderCache (const NoGcKeepOneExpanderCache &copy)
 
template<class Expander >
StateFindOrExpand (Expander &expander, StateId state_id)
 

Public Attributes

StateId state_id_ = kNoStateId
 
std::unique_ptr< Statestate_
 
std::unordered_map< StateId, std::unique_ptr< State > > cache_
 

Detailed Description

template<class A>
class fst::NoGcKeepOneExpanderCache< A >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

template<class A >
fst::NoGcKeepOneExpanderCache< A >::NoGcKeepOneExpanderCache ( )
inline

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

template<class A >
fst::NoGcKeepOneExpanderCache< A >::NoGcKeepOneExpanderCache ( const NoGcKeepOneExpanderCache< A > &  copy)
inline

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

Member Function Documentation

template<class A >
template<class Expander >
State* fst::NoGcKeepOneExpanderCache< A >::FindOrExpand ( Expander &  expander,
StateId  state_id 
)
inline

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

Member Data Documentation

template<class A >
std::unordered_map<StateId, std::unique_ptr<State> > fst::NoGcKeepOneExpanderCache< A >::cache_

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

template<class A >
std::unique_ptr<State> fst::NoGcKeepOneExpanderCache< A >::state_

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

template<class A >
StateId fst::NoGcKeepOneExpanderCache< A >::state_id_ = kNoStateId

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


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