FST
openfst-1.8.4
OpenFst Library
|
#include <cache.h>
Public Types | |
using | State = S |
using | Arc = typename State::Arc |
using | StateId = typename Arc::StateId |
using | StateList = std::list< StateId, PoolAllocator< StateId >> |
Public Member Functions | |
VectorCacheStore (const CacheOptions &opts) | |
VectorCacheStore (const VectorCacheStore< S > &store) | |
~VectorCacheStore () | |
VectorCacheStore & | operator= (const VectorCacheStore &store) |
bool | InBounds (StateId s) const |
const State * | GetState (StateId s) const |
State * | GetMutableState (StateId s) |
void | AddArc (State *state, const Arc &arc) |
void | SetArcs (State *state) |
void | DeleteArcs (State *state) |
void | DeleteArcs (State *state, size_t n) |
void | Clear () |
StateId | CountStates () const |
bool | Done () const |
StateId | Value () const |
void | Next () |
void | Reset () |
void | Delete () |
using fst::VectorCacheStore< S >::Arc = typename State::Arc |
using fst::VectorCacheStore< S >::State = S |
using fst::VectorCacheStore< S >::StateId = typename Arc::StateId |
using fst::VectorCacheStore< S >::StateList = std::list<StateId, PoolAllocator<StateId>> |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |