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

#include <state-table.h>

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

Public Types

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

Public Member Functions

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

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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


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