FST  openfst-1.7.1
OpenFst Library
Classes | Public Types | Public Member Functions | List of all members
fst::CacheLogAccumulatorData< Arc > Class Template Reference

#include <accumulator.h>

Public Types

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

Public Member Functions

 CacheLogAccumulatorData (bool gc, size_t gc_limit)
 
 CacheLogAccumulatorData (const CacheLogAccumulatorData< Arc > &data)
 
bool CacheDisabled () const
 
std::vector< double > * GetWeights (StateId s)
 
void AddWeights (StateId s, std::vector< double > *weights)
 

Detailed Description

template<class Arc>
class fst::CacheLogAccumulatorData< Arc >

Definition at line 387 of file accumulator.h.

Member Typedef Documentation

template<class Arc>
using fst::CacheLogAccumulatorData< Arc >::StateId = typename Arc::StateId

Definition at line 389 of file accumulator.h.

template<class Arc>
using fst::CacheLogAccumulatorData< Arc >::Weight = typename Arc::Weight

Definition at line 390 of file accumulator.h.

Constructor & Destructor Documentation

template<class Arc>
fst::CacheLogAccumulatorData< Arc >::CacheLogAccumulatorData ( bool  gc,
size_t  gc_limit 
)
inline

Definition at line 392 of file accumulator.h.

template<class Arc>
fst::CacheLogAccumulatorData< Arc >::CacheLogAccumulatorData ( const CacheLogAccumulatorData< Arc > &  data)
inline

Definition at line 395 of file accumulator.h.

Member Function Documentation

template<class Arc>
void fst::CacheLogAccumulatorData< Arc >::AddWeights ( StateId  s,
std::vector< double > *  weights 
)
inline

Definition at line 412 of file accumulator.h.

template<class Arc>
bool fst::CacheLogAccumulatorData< Arc >::CacheDisabled ( ) const
inline

Definition at line 400 of file accumulator.h.

template<class Arc>
std::vector<double>* fst::CacheLogAccumulatorData< Arc >::GetWeights ( StateId  s)
inline

Definition at line 402 of file accumulator.h.


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