FST  openfst-1.8.3
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::unique_ptr< std::vector< double >> weights)
 

Detailed Description

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

Definition at line 414 of file accumulator.h.

Member Typedef Documentation

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

Definition at line 416 of file accumulator.h.

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

Definition at line 417 of file accumulator.h.

Constructor & Destructor Documentation

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

Definition at line 419 of file accumulator.h.

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

Definition at line 422 of file accumulator.h.

Member Function Documentation

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

Definition at line 438 of file accumulator.h.

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

Definition at line 427 of file accumulator.h.

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

Definition at line 429 of file accumulator.h.


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