FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::VectorStateTable< T, FP > Class Template Reference

#include <state-table.h>

Inheritance diagram for fst::VectorStateTable< T, FP >:
Inheritance graph
[legend]
Collaboration diagram for fst::VectorStateTable< T, FP >:
Collaboration graph
[legend]

Public Types

using StateTuple = T
 
using StateId = typename StateTuple::StateId
 

Public Member Functions

 VectorStateTable (FP *fingerprint=nullptr, size_t table_size=0)
 
StateId FindState (const StateTuple &tuple)
 
const StateTupleTuple (StateId s) const
 
- Public Member Functions inherited from fst::VectorBiTable< T::StateId, T, FP >
 VectorBiTable (FP *fp=nullptr, size_t table_size=0)
 
 VectorBiTable (const VectorBiTable< T::StateId, T, FP > &table)
 
T::StateId FindId (const T &entry, bool insert=true)
 
const T & FindEntry (T::StateIds) const
 
T::StateId Size () const
 
const FP & Fingerprint () const
 

Detailed Description

template<class T, class FP>
class fst::VectorStateTable< T, FP >

Definition at line 111 of file state-table.h.

Member Typedef Documentation

template<class T, class FP>
using fst::VectorStateTable< T, FP >::StateId = typename StateTuple::StateId

Definition at line 114 of file state-table.h.

template<class T, class FP>
using fst::VectorStateTable< T, FP >::StateTuple = T

Definition at line 113 of file state-table.h.

Constructor & Destructor Documentation

template<class T, class FP>
fst::VectorStateTable< T, FP >::VectorStateTable ( FP *  fingerprint = nullptr,
size_t  table_size = 0 
)
inlineexplicit

Definition at line 121 of file state-table.h.

Member Function Documentation

template<class T, class FP>
StateId fst::VectorStateTable< T, FP >::FindState ( const StateTuple tuple)
inline

Definition at line 124 of file state-table.h.

template<class T, class FP>
const StateTuple& fst::VectorStateTable< T, FP >::Tuple ( StateId  s) const
inline

Definition at line 126 of file state-table.h.


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