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

#include <state-table.h>

Inheritance diagram for fst::HashStateTable< T, H >:
Inheritance graph
[legend]
Collaboration diagram for fst::HashStateTable< T, H >:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 HashStateTable ()
 
 HashStateTable (size_t table_size)
 
StateId FindState (const StateTuple &tuple)
 
const StateTupleTuple (StateId s) const
 
- Public Member Functions inherited from fst::HashBiTable< T::StateId, T, H >
 HashBiTable (size_t table_size=0, H *h=nullptr, std::equal_to< T > *e=nullptr)
 
 HashBiTable (const HashBiTable< T::StateId, T, H, std::equal_to< T > > &table)
 
T::StateId FindId (const T &entry, bool insert=true)
 
const T & FindEntry (T::StateIds) const
 
T::StateId Size () const
 
void Clear ()
 

Detailed Description

template<class T, class H>
class fst::HashStateTable< T, H >

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

Member Typedef Documentation

template<class T , class H >
using fst::HashStateTable< T, H >::StateId = typename StateTuple::StateId

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

template<class T , class H >
using fst::HashStateTable< T, H >::StateTuple = T

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

Constructor & Destructor Documentation

template<class T , class H >
fst::HashStateTable< T, H >::HashStateTable ( )
inline

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

template<class T , class H >
fst::HashStateTable< T, H >::HashStateTable ( size_t  table_size)
inlineexplicit

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

Member Function Documentation

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

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

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

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


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