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

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

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

Constructor & Destructor Documentation

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

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

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

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

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

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


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