Public Member Functions

fst::ErasableStateTable< T, H > Class Template Reference

#include <fst/state-table.h>

Inherits ErasableBiTable< T::StateId, T, H >.

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

List of all members.

Public Member Functions

 ErasableStateTable ()
StateId FindState (const StateTuple &tuple)
const StateTuple & Tuple (StateId s) const

Detailed Description

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

An implementation using a hash map to map from tuples to state IDs. This version permits erasing of states. The state tuple's default constructor must produce a tuple that will never be seen and the table must suppor operator==.

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


Constructor & Destructor Documentation

template<class T, class H>
fst::ErasableStateTable< T, H >::ErasableStateTable (  )  [inline]

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


Member Function Documentation

template<class T, class H>
StateId fst::ErasableStateTable< T, H >::FindState ( const StateTuple &  tuple  )  [inline]

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

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

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines