FST  openfst-1.8.3
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, const H &h=H(), const std::equal_to< T > &e=std::equal_to< T >())
 
 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 81 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 84 of file state-table.h.

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

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

Constructor & Destructor Documentation

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

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

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

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

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

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


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