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

#include <state-table.h>

Inheritance diagram for fst::VectorHashStateTable< T, Select, FP, H >:
Inheritance graph
[legend]
Collaboration diagram for fst::VectorHashStateTable< T, Select, FP, H >:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 VectorHashStateTable (Select *select, FP *fingerprint, H *hash, size_t vector_size=0, size_t tuple_size=0)
 
StateId FindState (const StateTuple &tuple)
 
const StateTupleTuple (StateId s) const
 
- Public Member Functions inherited from fst::VectorHashBiTable< T::StateId, T, Select, FP, H >
 VectorHashBiTable (Select *s, FP *fp, H *h, size_t vector_size=0, size_t entry_size=0)
 
 VectorHashBiTable (const VectorHashBiTable< T::StateId, T, Select, FP, H, HS_DENSE > &table)
 
T::StateId FindId (const T &entry, bool insert=true)
 
const T & FindEntry (T::StateIds) const
 
T::StateId Size () const
 
const Select & Selector () const
 
const FP & Fingerprint () const
 
const H & Hash () const
 

Detailed Description

template<class T, class Select, class FP, class H>
class fst::VectorHashStateTable< T, Select, FP, H >

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

Member Typedef Documentation

template<class T, class Select, class FP, class H>
using fst::VectorHashStateTable< T, Select, FP, H >::StateId = typename StateTuple::StateId

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

template<class T, class Select, class FP, class H>
using fst::VectorHashStateTable< T, Select, FP, H >::StateTuple = T

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

Constructor & Destructor Documentation

template<class T, class Select, class FP, class H>
fst::VectorHashStateTable< T, Select, FP, H >::VectorHashStateTable ( Select *  select,
FP *  fingerprint,
H *  hash,
size_t  vector_size = 0,
size_t  tuple_size = 0 
)
inline

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

Member Function Documentation

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

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

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

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


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