FST  openfst-1.8.1
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 (const Select &select, const FP &fingerprint, const 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 (const Select &s=Select(), const FP &fp=FP(), const H &h=H(), size_t vector_size=0, size_t entry_size=0)
 
 VectorHashBiTable (const VectorHashBiTable< T::StateId, T, Select, FP, H, HS_FLAT > &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 150 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 154 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 153 of file state-table.h.

Constructor & Destructor Documentation

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

Definition at line 163 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 169 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 171 of file state-table.h.


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