FST  openfst-1.7.1
OpenFst Library
Public Member Functions | Protected Member Functions | List of all members
fst::FastLogAccumulatorData Class Referenceabstract

#include <accumulator.h>

Inheritance diagram for fst::FastLogAccumulatorData:
Inheritance graph
[legend]

Public Member Functions

 FastLogAccumulatorData (int arc_limit, int arc_period)
 
virtual ~FastLogAccumulatorData ()
 
const double * Weights () const
 
int NumWeights () const
 
const int * WeightPositions () const
 
int NumPositions () const
 
int ArcLimit () const
 
int ArcPeriod () const
 
virtual bool IsMutable () const =0
 
virtual void SetData (std::vector< double > *weights, std::vector< int > *weight_positions)=0
 

Protected Member Functions

void Init (int num_weights, const double *weights, int num_positions, const int *weight_positions)
 

Detailed Description

Definition at line 110 of file accumulator.h.

Constructor & Destructor Documentation

fst::FastLogAccumulatorData::FastLogAccumulatorData ( int  arc_limit,
int  arc_period 
)
inline

Definition at line 112 of file accumulator.h.

virtual fst::FastLogAccumulatorData::~FastLogAccumulatorData ( )
inlinevirtual

Definition at line 120 of file accumulator.h.

Member Function Documentation

int fst::FastLogAccumulatorData::ArcLimit ( ) const
inline

Definition at line 134 of file accumulator.h.

int fst::FastLogAccumulatorData::ArcPeriod ( ) const
inline

Definition at line 136 of file accumulator.h.

void fst::FastLogAccumulatorData::Init ( int  num_weights,
const double *  weights,
int  num_positions,
const int *  weight_positions 
)
inlineprotected

Definition at line 147 of file accumulator.h.

virtual bool fst::FastLogAccumulatorData::IsMutable ( ) const
pure virtual
int fst::FastLogAccumulatorData::NumPositions ( ) const
inline

Definition at line 132 of file accumulator.h.

int fst::FastLogAccumulatorData::NumWeights ( ) const
inline

Definition at line 126 of file accumulator.h.

virtual void fst::FastLogAccumulatorData::SetData ( std::vector< double > *  weights,
std::vector< int > *  weight_positions 
)
pure virtual
const int* fst::FastLogAccumulatorData::WeightPositions ( ) const
inline

Definition at line 130 of file accumulator.h.

const double* fst::FastLogAccumulatorData::Weights ( ) const
inline

Definition at line 124 of file accumulator.h.


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