FST
openfst-1.8.4
OpenFst Library
|
#include <cache.h>
Public Member Functions | |
GCHashCacheStore (const CacheOptions &opts) | |
![]() | |
GCCacheStore (const CacheOptions &opts) | |
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 () |
void | GC (const State *current, bool free_recent, float cache_fraction=0.666) |
size_t | CacheSize () const |
size_t | CacheLimit () const |
Additional Inherited Members | |
![]() | |
using | State = typename FirstCacheStore< HashCacheStore< CacheState< Arc > > >::State |
using | Arc = typename State::Arc |
using | StateId = typename Arc::StateId |
|
inlineexplicit |