FST  openfst-1.8.3
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 (const FP &fingerprint=FP(), 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 (const FP &fp=FP(), 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 129 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 132 of file state-table.h.

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

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

Constructor & Destructor Documentation

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

Definition at line 139 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 142 of file state-table.h.

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

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


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