LatticeStringRepository< IntType >::EntryKey Class Reference

Public Member Functions

size_t operator() (const Entry *entry) const
 

Detailed Description

template<class IntType>
class fst::LatticeStringRepository< IntType >::EntryKey

Definition at line 209 of file determinize-lattice-inl.h.

Member Function Documentation

◆ operator()()

size_t operator() ( const Entry entry) const
inline

Definition at line 211 of file determinize-lattice-inl.h.

References LatticeStringRepository< IntType >::Entry::i, and LatticeStringRepository< IntType >::Entry::parent.

211  {
212  size_t prime = 49109;
213  return static_cast<size_t>(entry->i)
214  + prime * reinterpret_cast<size_t>(entry->parent);
215  }

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