FST  openfst-1.8.3
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

Public Member Functions

 FastLogAccumulatorData (int arc_limit, int arc_period)
virtual ~FastLogAccumulatorData ()=default
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 134 of file accumulator.h.

Constructor & Destructor Documentation

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

Definition at line 136 of file accumulator.h.

virtual fst::FastLogAccumulatorData::~FastLogAccumulatorData ( )

Member Function Documentation

int fst::FastLogAccumulatorData::ArcLimit ( ) const

Definition at line 158 of file accumulator.h.

int fst::FastLogAccumulatorData::ArcPeriod ( ) const

Definition at line 160 of file accumulator.h.

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

Definition at line 171 of file accumulator.h.

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

Definition at line 156 of file accumulator.h.

int fst::FastLogAccumulatorData::NumWeights ( ) const

Definition at line 150 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

Definition at line 154 of file accumulator.h.

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

Definition at line 148 of file accumulator.h.

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