FST  openfst-1.7.2
OpenFst Library
Public Member Functions | List of all members
fst::DefaultCacheStore< Arc > Class Template Reference

#include <cache.h>

Inheritance diagram for fst::DefaultCacheStore< Arc >:
Inheritance graph
[legend]
Collaboration diagram for fst::DefaultCacheStore< Arc >:
Collaboration graph
[legend]

Public Member Functions

 DefaultCacheStore (const CacheOptions &opts)
 
- Public Member Functions inherited from fst::GCCacheStore< FirstCacheStore< VectorCacheStore< CacheState< Arc > > > >
 GCCacheStore (const CacheOptions &opts)
 
const StateGetState (StateId s) const
 
StateGetMutableState (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

- Public Types inherited from fst::GCCacheStore< FirstCacheStore< VectorCacheStore< CacheState< Arc > > > >
using State = typename FirstCacheStore< VectorCacheStore< CacheState< Arc > > >::State
 
using Arc = typename State::Arc
 
using StateId = typename Arc::StateId
 

Detailed Description

template<class Arc>
class fst::DefaultCacheStore< Arc >

Definition at line 815 of file cache.h.

Constructor & Destructor Documentation

template<class Arc>
fst::DefaultCacheStore< Arc >::DefaultCacheStore ( const CacheOptions opts)
inlineexplicit

Definition at line 818 of file cache.h.


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